Signed-off-by: Tomek Grabiec <[email protected]>
---
jit/load-store-bc.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/jit/load-store-bc.c b/jit/load-store-bc.c
index 7a80053..0a4ce7a 100644
--- a/jit/load-store-bc.c
+++ b/jit/load-store-bc.c
@@ -137,10 +137,8 @@ static int __convert_ldc(struct parse_context *ctx,
unsigned long cp_idx)
+ (uint64_t) cp->long_.low_bytes);
break;
case CAFEBABE_CONSTANT_TAG_DOUBLE:
- NOT_IMPLEMENTED;
- expr = fvalue_expr(J_DOUBLE,
- ((uint64_t) cp->double_.high_bytes << 32)
- + (uint64_t) cp->double_.low_bytes);
+ expr = fvalue_expr(J_DOUBLE, uint64_to_double(
+ cp->double_.low_bytes, cp->double_.high_bytes));
break;
case CAFEBABE_CONSTANT_TAG_CLASS: {
/* Added for JDK 1.5 */
--
1.6.0.6
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Jatovm-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jatovm-devel