| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_HYDROGEN_INSTRUCTIONS_H_ | 5 #ifndef V8_HYDROGEN_INSTRUCTIONS_H_ |
| 6 #define V8_HYDROGEN_INSTRUCTIONS_H_ | 6 #define V8_HYDROGEN_INSTRUCTIONS_H_ |
| 7 | 7 |
| 8 #include <cstring> | 8 #include <cstring> |
| 9 #include <iosfwd> | 9 #include <iosfwd> |
| 10 | 10 |
| (...skipping 7601 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7612 SetOperandAt(0, context); | 7612 SetOperandAt(0, context); |
| 7613 set_representation(Representation::Tagged()); | 7613 set_representation(Representation::Tagged()); |
| 7614 SetChangesFlag(kNewSpacePromotion); | 7614 SetChangesFlag(kNewSpacePromotion); |
| 7615 } | 7615 } |
| 7616 | 7616 |
| 7617 bool IsDeletable() const OVERRIDE { return true; } | 7617 bool IsDeletable() const OVERRIDE { return true; } |
| 7618 | 7618 |
| 7619 class FunctionKindField : public BitField<FunctionKind, 0, 4> {}; | 7619 class FunctionKindField : public BitField<FunctionKind, 0, 4> {}; |
| 7620 class PretenureField : public BitField<bool, 5, 1> {}; | 7620 class PretenureField : public BitField<bool, 5, 1> {}; |
| 7621 class HasNoLiteralsField : public BitField<bool, 6, 1> {}; | 7621 class HasNoLiteralsField : public BitField<bool, 6, 1> {}; |
| 7622 STATIC_ASSERT(LANGUAGE_END == 2); | 7622 STATIC_ASSERT(LANGUAGE_END == 3); |
| 7623 class LanguageModeField : public BitField<LanguageMode, 7, 1> {}; | 7623 class LanguageModeField : public BitField<LanguageMode, 7, 2> {}; |
| 7624 | 7624 |
| 7625 Handle<SharedFunctionInfo> shared_info_; | 7625 Handle<SharedFunctionInfo> shared_info_; |
| 7626 uint32_t bit_field_; | 7626 uint32_t bit_field_; |
| 7627 }; | 7627 }; |
| 7628 | 7628 |
| 7629 | 7629 |
| 7630 class HTypeof FINAL : public HTemplateInstruction<2> { | 7630 class HTypeof FINAL : public HTemplateInstruction<2> { |
| 7631 public: | 7631 public: |
| 7632 DECLARE_INSTRUCTION_WITH_CONTEXT_FACTORY_P1(HTypeof, HValue*); | 7632 DECLARE_INSTRUCTION_WITH_CONTEXT_FACTORY_P1(HTypeof, HValue*); |
| 7633 | 7633 |
| (...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8000 }; | 8000 }; |
| 8001 | 8001 |
| 8002 | 8002 |
| 8003 | 8003 |
| 8004 #undef DECLARE_INSTRUCTION | 8004 #undef DECLARE_INSTRUCTION |
| 8005 #undef DECLARE_CONCRETE_INSTRUCTION | 8005 #undef DECLARE_CONCRETE_INSTRUCTION |
| 8006 | 8006 |
| 8007 } } // namespace v8::internal | 8007 } } // namespace v8::internal |
| 8008 | 8008 |
| 8009 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ | 8009 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ |
| OLD | NEW |