| Index: src/ia32/code-stubs-ia32.h
|
| ===================================================================
|
| --- src/ia32/code-stubs-ia32.h (revision 7619)
|
| +++ src/ia32/code-stubs-ia32.h (working copy)
|
| @@ -519,16 +519,16 @@
|
| save_fp_regs_mode_(fp_mode) {
|
| }
|
|
|
| - static const byte kTwoByteNopInstruction = 0x3c; // Cmpb al, #imm8.
|
| - static const byte kSkipIncrementalPartInstruction = 0xeb; // Jmp #imm8.
|
| + static const byte kTwoByteNopInstruction = 0x3c; // Cmpb al, #imm8.
|
| + static const byte kSkipNonIncrementalPartInstruction = 0xeb; // Jmp #imm8.
|
|
|
| static byte GetInstruction(bool enable) {
|
| // Can't use ternary operator here, because gcc makes an undefined
|
| // reference to a static const int.
|
| if (enable) {
|
| + return kSkipNonIncrementalPartInstruction;
|
| + } else {
|
| return kTwoByteNopInstruction;
|
| - } else {
|
| - return kSkipIncrementalPartInstruction;
|
| }
|
| }
|
|
|
|
|