Mercurial > hg > truffle
comparison src/os_cpu/windows_x86/vm/assembler_windows_x86.cpp @ 7430:d02120b7a34f
8004250: replace AbstractAssembler a_byte/a_long with emit_int8/emit_int32
Reviewed-by: jrose, kvn, twisti
Contributed-by: Morris Meyer <morris.meyer@oracle.com>
author | twisti |
---|---|
date | Thu, 20 Dec 2012 18:53:44 -0800 |
parents | cd3d6a6b95d9 |
children |
comparison
equal
deleted
inserted
replaced
7429:a46457045d66 | 7430:d02120b7a34f |
---|---|
28 #include "runtime/os.hpp" | 28 #include "runtime/os.hpp" |
29 #include "runtime/threadLocalStorage.hpp" | 29 #include "runtime/threadLocalStorage.hpp" |
30 | 30 |
31 | 31 |
32 void MacroAssembler::int3() { | 32 void MacroAssembler::int3() { |
33 emit_byte(0xCC); | 33 emit_int8((unsigned char)0xCC); |
34 } | 34 } |
35 | 35 |
36 #ifndef _LP64 | 36 #ifndef _LP64 |
37 // The current scheme to accelerate access to the thread | 37 // The current scheme to accelerate access to the thread |
38 // pointer is to store the current thread in the os_exception_wrapper | 38 // pointer is to store the current thread in the os_exception_wrapper |