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

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

Issue 6597104: Move IncrementalRecordWrite to a stub. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/gc
Patch Set: Created 9 years, 10 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.cc
diff --git a/src/ia32/code-stubs-ia32.cc b/src/ia32/code-stubs-ia32.cc
index 287594c131ccb14a5a12dac88b4b5bd036e96326..77d214af15945d15e2aa3cb18f77c5d78d182a7b 100644
--- a/src/ia32/code-stubs-ia32.cc
+++ b/src/ia32/code-stubs-ia32.cc
@@ -6653,6 +6653,23 @@ void GenerateFastPixelArrayStore(MacroAssembler* masm,
}
+void IncrementalMarkingRecordWriteStub::Generate(MacroAssembler* masm) {
+ if (IncrementalMarking::IsStopped()) {
+ __ ret(0);
+ } else {
+ __ nop();
+ }
+
+ __ IncrementalMarkingRecordWriteHelper(object_,
+ value_,
+ scratch_,
+ object_mode_,
+ value_mode_,
+ scratch_mode_);
+ __ ret(0);
+}
+
+
#undef __
} } // namespace v8::internal

Powered by Google App Engine
This is Rietveld 408576698