| 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_CODE_STUBS_H_ | 5 #ifndef V8_CODE_STUBS_H_ |
| 6 #define V8_CODE_STUBS_H_ | 6 #define V8_CODE_STUBS_H_ |
| 7 | 7 |
| 8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
| 9 #include "src/assembler.h" | 9 #include "src/assembler.h" |
| 10 #include "src/codegen.h" | 10 #include "src/codegen.h" |
| (...skipping 1679 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1690 return LeftStateBits::decode(minor_key_); | 1690 return LeftStateBits::decode(minor_key_); |
| 1691 } | 1691 } |
| 1692 CompareICState::State right() const { | 1692 CompareICState::State right() const { |
| 1693 return RightStateBits::decode(minor_key_); | 1693 return RightStateBits::decode(minor_key_); |
| 1694 } | 1694 } |
| 1695 CompareICState::State state() const { return StateBits::decode(minor_key_); } | 1695 CompareICState::State state() const { return StateBits::decode(minor_key_); } |
| 1696 | 1696 |
| 1697 private: | 1697 private: |
| 1698 Code::Kind GetCodeKind() const override { return Code::COMPARE_IC; } | 1698 Code::Kind GetCodeKind() const override { return Code::COMPARE_IC; } |
| 1699 | 1699 |
| 1700 void GenerateBooleans(MacroAssembler* masm); |
| 1700 void GenerateSmis(MacroAssembler* masm); | 1701 void GenerateSmis(MacroAssembler* masm); |
| 1701 void GenerateNumbers(MacroAssembler* masm); | 1702 void GenerateNumbers(MacroAssembler* masm); |
| 1702 void GenerateInternalizedStrings(MacroAssembler* masm); | 1703 void GenerateInternalizedStrings(MacroAssembler* masm); |
| 1703 void GenerateStrings(MacroAssembler* masm); | 1704 void GenerateStrings(MacroAssembler* masm); |
| 1704 void GenerateUniqueNames(MacroAssembler* masm); | 1705 void GenerateUniqueNames(MacroAssembler* masm); |
| 1705 void GenerateObjects(MacroAssembler* masm); | 1706 void GenerateObjects(MacroAssembler* masm); |
| 1706 void GenerateMiss(MacroAssembler* masm); | 1707 void GenerateMiss(MacroAssembler* masm); |
| 1707 void GenerateKnownObjects(MacroAssembler* masm); | 1708 void GenerateKnownObjects(MacroAssembler* masm); |
| 1708 void GenerateGeneric(MacroAssembler* masm); | 1709 void GenerateGeneric(MacroAssembler* masm); |
| 1709 | 1710 |
| (...skipping 1369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3079 #undef DEFINE_HYDROGEN_CODE_STUB | 3080 #undef DEFINE_HYDROGEN_CODE_STUB |
| 3080 #undef DEFINE_CODE_STUB | 3081 #undef DEFINE_CODE_STUB |
| 3081 #undef DEFINE_CODE_STUB_BASE | 3082 #undef DEFINE_CODE_STUB_BASE |
| 3082 | 3083 |
| 3083 extern Representation RepresentationFromType(Type* type); | 3084 extern Representation RepresentationFromType(Type* type); |
| 3084 | 3085 |
| 3085 } // namespace internal | 3086 } // namespace internal |
| 3086 } // namespace v8 | 3087 } // namespace v8 |
| 3087 | 3088 |
| 3088 #endif // V8_CODE_STUBS_H_ | 3089 #endif // V8_CODE_STUBS_H_ |
| OLD | NEW |