| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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_BUILTINS_BUILTINS_H_ | 5 #ifndef V8_BUILTINS_BUILTINS_H_ |
| 6 #define V8_BUILTINS_BUILTINS_H_ | 6 #define V8_BUILTINS_BUILTINS_H_ |
| 7 | 7 |
| 8 #include "src/base/flags.h" | 8 #include "src/base/flags.h" |
| 9 #include "src/handles.h" | 9 #include "src/handles.h" |
| 10 | 10 |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 /* Adapters for Turbofan into runtime */ \ | 144 /* Adapters for Turbofan into runtime */ \ |
| 145 ASM(AllocateInNewSpace) \ | 145 ASM(AllocateInNewSpace) \ |
| 146 ASM(AllocateInOldSpace) \ | 146 ASM(AllocateInOldSpace) \ |
| 147 \ | 147 \ |
| 148 /* TurboFan support builtins */ \ | 148 /* TurboFan support builtins */ \ |
| 149 TFS(CopyFastSmiOrObjectElements, BUILTIN, kNoExtraICState, \ | 149 TFS(CopyFastSmiOrObjectElements, BUILTIN, kNoExtraICState, \ |
| 150 CopyFastSmiOrObjectElements) \ | 150 CopyFastSmiOrObjectElements) \ |
| 151 TFS(GrowFastDoubleElements, BUILTIN, kNoExtraICState, GrowArrayElements) \ | 151 TFS(GrowFastDoubleElements, BUILTIN, kNoExtraICState, GrowArrayElements) \ |
| 152 TFS(GrowFastSmiOrObjectElements, BUILTIN, kNoExtraICState, \ | 152 TFS(GrowFastSmiOrObjectElements, BUILTIN, kNoExtraICState, \ |
| 153 GrowArrayElements) \ | 153 GrowArrayElements) \ |
| 154 TFS(OrdinaryHasInstance, BUILTIN, kNoExtraICState, Compare) \ |
| 154 \ | 155 \ |
| 155 /* Debugger */ \ | 156 /* Debugger */ \ |
| 156 DBG(FrameDropper_LiveEdit) \ | 157 DBG(FrameDropper_LiveEdit) \ |
| 157 DBG(Return_DebugBreak) \ | 158 DBG(Return_DebugBreak) \ |
| 158 DBG(Slot_DebugBreak) \ | 159 DBG(Slot_DebugBreak) \ |
| 159 \ | 160 \ |
| 160 /* Type conversions */ \ | 161 /* Type conversions */ \ |
| 161 TFS(ToBoolean, BUILTIN, kNoExtraICState, TypeConversion) \ | 162 TFS(ToBoolean, BUILTIN, kNoExtraICState, TypeConversion) \ |
| 162 TFS(OrdinaryToPrimitive_Number, BUILTIN, kNoExtraICState, TypeConversion) \ | 163 TFS(OrdinaryToPrimitive_Number, BUILTIN, kNoExtraICState, TypeConversion) \ |
| 163 TFS(OrdinaryToPrimitive_String, BUILTIN, kNoExtraICState, TypeConversion) \ | 164 TFS(OrdinaryToPrimitive_String, BUILTIN, kNoExtraICState, TypeConversion) \ |
| (...skipping 571 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 735 | 736 |
| 736 friend class Isolate; | 737 friend class Isolate; |
| 737 | 738 |
| 738 DISALLOW_COPY_AND_ASSIGN(Builtins); | 739 DISALLOW_COPY_AND_ASSIGN(Builtins); |
| 739 }; | 740 }; |
| 740 | 741 |
| 741 } // namespace internal | 742 } // namespace internal |
| 742 } // namespace v8 | 743 } // namespace v8 |
| 743 | 744 |
| 744 #endif // V8_BUILTINS_BUILTINS_H_ | 745 #endif // V8_BUILTINS_BUILTINS_H_ |
| OLD | NEW |