Mercurial > hg > graal-jvmci-8
comparison src/cpu/x86/vm/stubGenerator_x86_32.cpp @ 533:dc3ad84615cf
6795913: A few remaining wrong casts need to be fixed for building hotspot successfully on Mac OS.
Summary: Use NULL_WORD in the places where intptr_t is expected due to incompatible types between intptr_t & int32_t
Reviewed-by: phh, coleenp, never
author | xlu |
---|---|
date | Mon, 26 Jan 2009 12:07:54 -0800 |
parents | 67e8b4d06369 |
children | 0fbdb4381b99 c517646eef23 |
comparison
equal
deleted
inserted
replaced
532:99c597293e35 | 533:dc3ad84615cf |
---|---|
405 | 405 |
406 // setup rax, & rdx, remove return address & clear pending exception | 406 // setup rax, & rdx, remove return address & clear pending exception |
407 __ get_thread(rcx); | 407 __ get_thread(rcx); |
408 __ pop(rdx); | 408 __ pop(rdx); |
409 __ movptr(rax, Address(rcx, Thread::pending_exception_offset())); | 409 __ movptr(rax, Address(rcx, Thread::pending_exception_offset())); |
410 __ movptr(Address(rcx, Thread::pending_exception_offset()), (int32_t)NULL_WORD); | 410 __ movptr(Address(rcx, Thread::pending_exception_offset()), NULL_WORD); |
411 | 411 |
412 #ifdef ASSERT | 412 #ifdef ASSERT |
413 // make sure exception is set | 413 // make sure exception is set |
414 { Label L; | 414 { Label L; |
415 __ testptr(rax, rax); | 415 __ testptr(rax, rax); |