Index: src/ic/ic.h |
diff --git a/src/ic/ic.h b/src/ic/ic.h |
index b77ceb6a5821bc7564d3aa45c412e8578278b367..99695b5b347cb62cefbe17f73e440c1ff63d6483 100644 |
--- a/src/ic/ic.h |
+++ b/src/ic/ic.h |
@@ -353,6 +353,13 @@ |
static void GenerateRuntimeGetProperty(MacroAssembler* masm); |
static void GenerateMegamorphic(MacroAssembler* masm); |
+ // Bit mask to be tested against bit field for the cases when |
+ // generic stub should go into slow case. |
+ // Access check is necessary explicitly since generic stub does not perform |
+ // map checks. |
+ static const int kSlowCaseBitFieldMask = |
+ (1 << Map::kIsAccessCheckNeeded) | (1 << Map::kHasIndexedInterceptor); |
+ |
static Handle<Code> initialize_stub_in_optimized_code( |
Isolate* isolate, State initialization_state, ExtraICState extra_state); |
static Handle<Code> ChooseMegamorphicStub(Isolate* isolate, |