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

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

Issue 3018015: Fixed a couple of issues with store inlining on arm.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 5 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
« no previous file with comments | « src/arm/assembler-arm.cc ('k') | src/arm/codegen-arm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/arm/codegen-arm.h
===================================================================
--- src/arm/codegen-arm.h (revision 5120)
+++ src/arm/codegen-arm.h (working copy)
@@ -282,7 +282,8 @@
}
static const int kInlinedKeyedStoreInstructionsAfterPatch = 5;
static int GetInlinedNamedStoreInstructionsAfterPatch() {
- return FLAG_debug_code ? 33 : 14;
+ ASSERT(inlined_write_barrier_size_ != -1);
+ return inlined_write_barrier_size_ + 4;
}
private:
@@ -589,6 +590,9 @@
// to some unlinking code).
bool function_return_is_shadowed_;
+ // Size of inlined write barriers.
+ static int inlined_write_barrier_size_;
Vyacheslav Egorov (Chromium) 2010/07/23 08:44:24 Might me reasonable to add name of method used to
Mads Ager (chromium) 2010/07/23 08:47:24 Done.
+
static InlineRuntimeLUT kInlineRuntimeLUT[];
friend class VirtualFrame;
« no previous file with comments | « src/arm/assembler-arm.cc ('k') | src/arm/codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698