Mercurial > hg > truffle
comparison src/cpu/x86/vm/cppInterpreter_x86.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 |
---|---|
1352 | 1352 |
1353 __ reset_last_Java_frame(thread, true, true); | 1353 __ reset_last_Java_frame(thread, true, true); |
1354 | 1354 |
1355 // reset handle block | 1355 // reset handle block |
1356 __ movptr(t, Address(thread, JavaThread::active_handles_offset())); | 1356 __ movptr(t, Address(thread, JavaThread::active_handles_offset())); |
1357 __ movptr(Address(t, JNIHandleBlock::top_offset_in_bytes()), (int32_t)NULL_WORD); | 1357 __ movl(Address(t, JNIHandleBlock::top_offset_in_bytes()), (int32_t)NULL_WORD); |
1358 | 1358 |
1359 // If result was an oop then unbox and save it in the frame | 1359 // If result was an oop then unbox and save it in the frame |
1360 { Label L; | 1360 { Label L; |
1361 Label no_oop, store_result; | 1361 Label no_oop, store_result; |
1362 ExternalAddress oop_handler(AbstractInterpreter::result_handler(T_OBJECT)); | 1362 ExternalAddress oop_handler(AbstractInterpreter::result_handler(T_OBJECT)); |