Mercurial > hg > truffle
comparison src/cpu/x86/vm/templateInterpreter_x86_32.cpp @ 17850:2100bf712e2a
8039146: Fix 64-bit store to int JNIHandleBlock::_top
Reviewed-by: coleenp, kvn
author | goetz |
---|---|
date | Thu, 03 Apr 2014 12:37:53 +0200 |
parents | bd3237e0e18d |
children | 0bf37f737702 |
comparison
equal
deleted
inserted
replaced
17849:526acaf3626f | 17850:2100bf712e2a |
---|---|
1285 | 1285 |
1286 __ reset_last_Java_frame(thread, true, true); | 1286 __ reset_last_Java_frame(thread, true, true); |
1287 | 1287 |
1288 // reset handle block | 1288 // reset handle block |
1289 __ movptr(t, Address(thread, JavaThread::active_handles_offset())); | 1289 __ movptr(t, Address(thread, JavaThread::active_handles_offset())); |
1290 __ movptr(Address(t, JNIHandleBlock::top_offset_in_bytes()), NULL_WORD); | 1290 __ movl(Address(t, JNIHandleBlock::top_offset_in_bytes()), NULL_WORD); |
1291 | 1291 |
1292 // If result was an oop then unbox and save it in the frame | 1292 // If result was an oop then unbox and save it in the frame |
1293 { Label L; | 1293 { Label L; |
1294 Label no_oop, store_result; | 1294 Label no_oop, store_result; |
1295 ExternalAddress handler(AbstractInterpreter::result_handler(T_OBJECT)); | 1295 ExternalAddress handler(AbstractInterpreter::result_handler(T_OBJECT)); |