summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d9d4132)
raw | patch | inline | side by side (parent: d9d4132)
author | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Sun, 27 Aug 2017 15:32:03 +0000 (18:32 +0300) | ||
committer | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Sun, 27 Aug 2017 15:32:03 +0000 (18:32 +0300) |
Test.obn | patch | blob | history | |
src/backends/jvm/generator-jvm-abi.c | patch | blob | history |
diff --git a/Test.obn b/Test.obn
index f8a3688761c9e28b3c33aad87cd805f41a96d9d1..6fae5299c4ceb508ddf3708622d39e419e562a12 100644 (file)
--- a/Test.obn
+++ b/Test.obn
MODULE Test;
-IMPORT Out, CPMath, CPStrings;
-
-
-VAR
- s : ARRAY 80 OF CHAR;
- v, m, r, f : LONGREAL;
- e : LONGINT;
-
-BEGIN
- v := CPMath.Pi();
- m := CPMath.Mantissa(v);
- e := CPMath.Exponent(v);
- r := CPMath.Real(m, e);
- f := CPMath.Frac(v);
- Out.LongReal(v, 0); Out.Ln;
- Out.LongReal(m, 0); Out.Ln;
- Out.Int(e, 0); Out.Ln;
- Out.LongReal(r, 0); Out.Ln;
- Out.LongReal(f, 0); Out.Ln;
END Test.
index d1e87f16a964bbb76f69eefe6c550081abda82cb..f277188bb6c54f48bff60ae3a1cbae8ca0b2bc81 100644 (file)
case JVM_STORAGE_REGISTER:
case JVM_STORAGE_PARAM:
case JVM_STORAGE_PARAM_VAR:
- case JVM_STORAGE_FRAME:
- case JVM_STORAGE_FRAME_VAR:
case JVM_STORAGE_FRAME_PARAM:
case JVM_STORAGE_FRAME_PARAM_VAR:
jvm_generate(p, 0, 0, ".var %i is '%s' %s from start to end", reg, name, desc);
break;
+ case JVM_STORAGE_FRAME:
+ case JVM_STORAGE_FRAME_VAR:
+ break;
case JVM_STORAGE_REGISTER_VAR:
jvm_generate(p, 0, 0, ".var %i is '%s' [%s from start to end", reg, name, desc);
break;