Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Unified Diff: src/ia32/code-stubs-ia32.h

Issue 6824078: Move most of the incremental marking write barrier to generated code. (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/gc/
Patch Set: '' Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
}
}

Powered by Google App Engine
This is Rietveld 408576698