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

Unified Diff: src/arm/codegen-arm.h

Issue 5736008: Provide baseline for experimental GC implementation. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/gc
Patch Set: Created 10 years 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/arm/codegen-arm.h
diff --git a/src/arm/codegen-arm.h b/src/arm/codegen-arm.h
index 589e704b5128ebf17664b2fbd69bd24f2d2097e1..4ea45637e5ac967648c0e8a4a25ffd92958f8028 100644
--- a/src/arm/codegen-arm.h
+++ b/src/arm/codegen-arm.h
@@ -270,8 +270,12 @@ class CodeGenerator: public AstVisitor {
}
static const int kInlinedKeyedStoreInstructionsAfterPatch = 5;
static int GetInlinedNamedStoreInstructionsAfterPatch() {
+#ifdef ENABLE_CARDMARKING_WRITE_BARRIER
ASSERT(inlined_write_barrier_size_ != -1);
return inlined_write_barrier_size_ + 4;
+#else
+ return 4;
+#endif
}
private:
« no previous file with comments | « src/arm/code-stubs-arm.cc ('k') | src/arm/codegen-arm.cc » ('j') | src/arm/full-codegen-arm.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698