Chromium Code Reviews| 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_H_ | 5 #ifndef V8_BUILTINS_H_ |
| 6 #define V8_BUILTINS_H_ | 6 #define V8_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 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 201 V(CompileOptimizedConcurrent, BUILTIN, UNINITIALIZED, kNoExtraICState) \ | 201 V(CompileOptimizedConcurrent, BUILTIN, UNINITIALIZED, kNoExtraICState) \ |
| 202 V(NotifyDeoptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \ | 202 V(NotifyDeoptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \ |
| 203 V(NotifySoftDeoptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \ | 203 V(NotifySoftDeoptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \ |
| 204 V(NotifyLazyDeoptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \ | 204 V(NotifyLazyDeoptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \ |
| 205 V(NotifyStubFailure, BUILTIN, UNINITIALIZED, kNoExtraICState) \ | 205 V(NotifyStubFailure, BUILTIN, UNINITIALIZED, kNoExtraICState) \ |
| 206 V(NotifyStubFailureSaveDoubles, BUILTIN, UNINITIALIZED, kNoExtraICState) \ | 206 V(NotifyStubFailureSaveDoubles, BUILTIN, UNINITIALIZED, kNoExtraICState) \ |
| 207 \ | 207 \ |
| 208 V(InterpreterEntryTrampoline, BUILTIN, UNINITIALIZED, kNoExtraICState) \ | 208 V(InterpreterEntryTrampoline, BUILTIN, UNINITIALIZED, kNoExtraICState) \ |
| 209 V(InterpreterExitTrampoline, BUILTIN, UNINITIALIZED, kNoExtraICState) \ | 209 V(InterpreterExitTrampoline, BUILTIN, UNINITIALIZED, kNoExtraICState) \ |
| 210 V(InterpreterPushArgsAndCall, BUILTIN, UNINITIALIZED, kNoExtraICState) \ | 210 V(InterpreterPushArgsAndCall, BUILTIN, UNINITIALIZED, kNoExtraICState) \ |
| 211 V(InterpreterPushArgsAndCallIC, BUILTIN, UNINITIALIZED, kNoExtraICState) \ | |
|
rmcilroy
2016/02/12 14:21:03
nit - same order as below (CallIC, Call, Construct
mythria
2016/02/17 11:02:47
Done.
| |
| 211 V(InterpreterPushArgsAndConstruct, BUILTIN, UNINITIALIZED, kNoExtraICState) \ | 212 V(InterpreterPushArgsAndConstruct, BUILTIN, UNINITIALIZED, kNoExtraICState) \ |
| 212 V(InterpreterNotifyDeoptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \ | 213 V(InterpreterNotifyDeoptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \ |
| 213 V(InterpreterNotifySoftDeoptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \ | 214 V(InterpreterNotifySoftDeoptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \ |
| 214 V(InterpreterNotifyLazyDeoptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \ | 215 V(InterpreterNotifyLazyDeoptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \ |
| 215 V(InterpreterEnterBytecodeDispatch, BUILTIN, UNINITIALIZED, kNoExtraICState) \ | 216 V(InterpreterEnterBytecodeDispatch, BUILTIN, UNINITIALIZED, kNoExtraICState) \ |
| 216 \ | 217 \ |
| 217 V(LoadIC_Miss, BUILTIN, UNINITIALIZED, kNoExtraICState) \ | 218 V(LoadIC_Miss, BUILTIN, UNINITIALIZED, kNoExtraICState) \ |
| 218 V(KeyedLoadIC_Miss, BUILTIN, UNINITIALIZED, kNoExtraICState) \ | 219 V(KeyedLoadIC_Miss, BUILTIN, UNINITIALIZED, kNoExtraICState) \ |
| 219 V(StoreIC_Miss, BUILTIN, UNINITIALIZED, kNoExtraICState) \ | 220 V(StoreIC_Miss, BUILTIN, UNINITIALIZED, kNoExtraICState) \ |
| 220 V(KeyedStoreIC_Miss, BUILTIN, UNINITIALIZED, kNoExtraICState) \ | 221 V(KeyedStoreIC_Miss, BUILTIN, UNINITIALIZED, kNoExtraICState) \ |
| (...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 570 | 571 |
| 571 static void Generate_StringConstructor(MacroAssembler* masm); | 572 static void Generate_StringConstructor(MacroAssembler* masm); |
| 572 static void Generate_StringConstructor_ConstructStub(MacroAssembler* masm); | 573 static void Generate_StringConstructor_ConstructStub(MacroAssembler* masm); |
| 573 static void Generate_OnStackReplacement(MacroAssembler* masm); | 574 static void Generate_OnStackReplacement(MacroAssembler* masm); |
| 574 static void Generate_OsrAfterStackCheck(MacroAssembler* masm); | 575 static void Generate_OsrAfterStackCheck(MacroAssembler* masm); |
| 575 static void Generate_InterruptCheck(MacroAssembler* masm); | 576 static void Generate_InterruptCheck(MacroAssembler* masm); |
| 576 static void Generate_StackCheck(MacroAssembler* masm); | 577 static void Generate_StackCheck(MacroAssembler* masm); |
| 577 | 578 |
| 578 static void Generate_InterpreterEntryTrampoline(MacroAssembler* masm); | 579 static void Generate_InterpreterEntryTrampoline(MacroAssembler* masm); |
| 579 static void Generate_InterpreterExitTrampoline(MacroAssembler* masm); | 580 static void Generate_InterpreterExitTrampoline(MacroAssembler* masm); |
| 581 static void Generate_InterpreterPushArgsAndCallIC(MacroAssembler* masm); | |
| 580 static void Generate_InterpreterPushArgsAndCall(MacroAssembler* masm); | 582 static void Generate_InterpreterPushArgsAndCall(MacroAssembler* masm); |
| 581 static void Generate_InterpreterPushArgsAndConstruct(MacroAssembler* masm); | 583 static void Generate_InterpreterPushArgsAndConstruct(MacroAssembler* masm); |
| 582 static void Generate_InterpreterNotifyDeoptimized(MacroAssembler* masm); | 584 static void Generate_InterpreterNotifyDeoptimized(MacroAssembler* masm); |
| 583 static void Generate_InterpreterNotifySoftDeoptimized(MacroAssembler* masm); | 585 static void Generate_InterpreterNotifySoftDeoptimized(MacroAssembler* masm); |
| 584 static void Generate_InterpreterNotifyLazyDeoptimized(MacroAssembler* masm); | 586 static void Generate_InterpreterNotifyLazyDeoptimized(MacroAssembler* masm); |
| 585 static void Generate_InterpreterEnterBytecodeDispatch(MacroAssembler* masm); | 587 static void Generate_InterpreterEnterBytecodeDispatch(MacroAssembler* masm); |
| 586 | 588 |
| 587 #define DECLARE_CODE_AGE_BUILTIN_GENERATOR(C) \ | 589 #define DECLARE_CODE_AGE_BUILTIN_GENERATOR(C) \ |
| 588 static void Generate_Make##C##CodeYoungAgainEvenMarking( \ | 590 static void Generate_Make##C##CodeYoungAgainEvenMarking( \ |
| 589 MacroAssembler* masm); \ | 591 MacroAssembler* masm); \ |
| (...skipping 13 matching lines...) Expand all Loading... | |
| 603 friend class BuiltinFunctionTable; | 605 friend class BuiltinFunctionTable; |
| 604 friend class Isolate; | 606 friend class Isolate; |
| 605 | 607 |
| 606 DISALLOW_COPY_AND_ASSIGN(Builtins); | 608 DISALLOW_COPY_AND_ASSIGN(Builtins); |
| 607 }; | 609 }; |
| 608 | 610 |
| 609 } // namespace internal | 611 } // namespace internal |
| 610 } // namespace v8 | 612 } // namespace v8 |
| 611 | 613 |
| 612 #endif // V8_BUILTINS_H_ | 614 #endif // V8_BUILTINS_H_ |
| OLD | NEW |