Index: src/hydrogen-instructions.h |
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h |
index 233ca42f109f08a9630748cab32d05f4743b01f4..9101576b7b91a3b4c9746e1ca11da7bb3eb51320 100644 |
--- a/src/hydrogen-instructions.h |
+++ b/src/hydrogen-instructions.h |
@@ -7562,6 +7562,10 @@ class HFunctionLiteral FINAL : public HTemplateInstruction<1> { |
bool is_arrow() const { return IsArrowFunction(kind()); } |
bool is_generator() const { return IsGeneratorFunction(kind()); } |
bool is_concise_method() const { return IsConciseMethod(kind()); } |
+ bool is_default_constructor() const { return IsDefaultConstructor(kind()); } |
+ bool is_default_constructor_call_super() const { |
+ return IsDefaultConstructorCallSuper(kind()); |
+ } |
FunctionKind kind() const { return FunctionKindField::decode(bit_field_); } |
StrictMode strict_mode() const { return StrictModeField::decode(bit_field_); } |
@@ -7581,10 +7585,10 @@ class HFunctionLiteral FINAL : public HTemplateInstruction<1> { |
virtual bool IsDeletable() const OVERRIDE { return true; } |
- class FunctionKindField : public BitField<FunctionKind, 0, 3> {}; |
- class PretenureField : public BitField<bool, 3, 1> {}; |
- class HasNoLiteralsField : public BitField<bool, 4, 1> {}; |
- class StrictModeField : public BitField<StrictMode, 5, 1> {}; |
+ class FunctionKindField : public BitField<FunctionKind, 0, 5> {}; |
+ class PretenureField : public BitField<bool, 5, 1> {}; |
+ class HasNoLiteralsField : public BitField<bool, 6, 1> {}; |
+ class StrictModeField : public BitField<StrictMode, 7, 1> {}; |
Handle<SharedFunctionInfo> shared_info_; |
uint32_t bit_field_; |