Chromium Code Reviews| 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; |