Mercurial > hg > graal-compiler
comparison src/cpu/x86/vm/macroAssembler_x86.cpp @ 7476:ffa87474d7a4
8004537: replace AbstractAssembler emit_long with emit_int32
Reviewed-by: jrose, kvn, twisti
Contributed-by: Morris Meyer <morris.meyer@oracle.com>
author | twisti |
---|---|
date | Mon, 07 Jan 2013 14:08:28 -0800 |
parents | e2e6bf86682c |
children | 038dd2875b94 |
comparison
equal
deleted
inserted
replaced
7475:e2e6bf86682c | 7476:ffa87474d7a4 |
---|---|
2538 emit_int8((offs - short_size) & 0xFF); | 2538 emit_int8((offs - short_size) & 0xFF); |
2539 } else { | 2539 } else { |
2540 // 0000 1111 1000 tttn #32-bit disp | 2540 // 0000 1111 1000 tttn #32-bit disp |
2541 emit_int8(0x0F); | 2541 emit_int8(0x0F); |
2542 emit_int8((unsigned char)(0x80 | cc)); | 2542 emit_int8((unsigned char)(0x80 | cc)); |
2543 emit_long(offs - long_size); | 2543 emit_int32(offs - long_size); |
2544 } | 2544 } |
2545 } else { | 2545 } else { |
2546 #ifdef ASSERT | 2546 #ifdef ASSERT |
2547 warning("reversing conditional branch"); | 2547 warning("reversing conditional branch"); |
2548 #endif /* ASSERT */ | 2548 #endif /* ASSERT */ |