Index: src/runtime/runtime.h |
diff --git a/src/runtime/runtime.h b/src/runtime/runtime.h |
index d84b57e9d6d8b566537d342700fd0b517cbd5303..6146439eaf23e2f3844f0b1d4c0e0fed22af0469 100644 |
--- a/src/runtime/runtime.h |
+++ b/src/runtime/runtime.h |
@@ -79,7 +79,7 @@ namespace internal { |
F(ThrowStaticPrototypeError, 0, 1) \ |
F(ThrowIfStaticPrototype, 1, 1) \ |
F(HomeObjectSymbol, 0, 1) \ |
- F(DefineClass, 4, 1) \ |
+ F(DefineClass, 7, 1) \ |
F(LoadFromSuper, 3, 1) \ |
F(LoadKeyedFromSuper, 3, 1) \ |
F(StoreToSuper_Strict, 4, 1) \ |
@@ -1137,6 +1137,12 @@ class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
STATIC_ASSERT(LANGUAGE_END == 3); |
class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
+// These flags are used for passing information about ES6 class methods from the |
+// parser to the runtime. |
+const uint32_t kIsStaticMask = 0x01; |
+const uint32_t kIsAccessorMask = 0x02; |
+const uint32_t kIsSetterMask = 0x04; |
+ |
} // namespace internal |
} // namespace v8 |