Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(328)

Side by Side Diff: src/builtins.h

Issue 1605633003: [interpreter] First implementation of stack unwinding. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_int-5
Patch Set: Rebase and skip one more test. Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/arm64/builtins-arm64.cc ('k') | src/frames.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 V(NotifyStubFailure, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 188 V(NotifyStubFailure, BUILTIN, UNINITIALIZED, kNoExtraICState) \
189 V(NotifyStubFailureSaveDoubles, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 189 V(NotifyStubFailureSaveDoubles, BUILTIN, UNINITIALIZED, kNoExtraICState) \
190 \ 190 \
191 V(InterpreterEntryTrampoline, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 191 V(InterpreterEntryTrampoline, BUILTIN, UNINITIALIZED, kNoExtraICState) \
192 V(InterpreterExitTrampoline, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 192 V(InterpreterExitTrampoline, BUILTIN, UNINITIALIZED, kNoExtraICState) \
193 V(InterpreterPushArgsAndCall, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 193 V(InterpreterPushArgsAndCall, BUILTIN, UNINITIALIZED, kNoExtraICState) \
194 V(InterpreterPushArgsAndConstruct, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 194 V(InterpreterPushArgsAndConstruct, BUILTIN, UNINITIALIZED, kNoExtraICState) \
195 V(InterpreterNotifyDeoptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 195 V(InterpreterNotifyDeoptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \
196 V(InterpreterNotifySoftDeoptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 196 V(InterpreterNotifySoftDeoptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \
197 V(InterpreterNotifyLazyDeoptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 197 V(InterpreterNotifyLazyDeoptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \
198 V(InterpreterEnterExceptionHandler, BUILTIN, UNINITIALIZED, kNoExtraICState) \
198 \ 199 \
199 V(LoadIC_Miss, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 200 V(LoadIC_Miss, BUILTIN, UNINITIALIZED, kNoExtraICState) \
200 V(KeyedLoadIC_Miss, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 201 V(KeyedLoadIC_Miss, BUILTIN, UNINITIALIZED, kNoExtraICState) \
201 V(StoreIC_Miss, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 202 V(StoreIC_Miss, BUILTIN, UNINITIALIZED, kNoExtraICState) \
202 V(KeyedStoreIC_Miss, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 203 V(KeyedStoreIC_Miss, BUILTIN, UNINITIALIZED, kNoExtraICState) \
203 V(LoadIC_Getter_ForDeopt, LOAD_IC, MONOMORPHIC, kNoExtraICState) \ 204 V(LoadIC_Getter_ForDeopt, LOAD_IC, MONOMORPHIC, kNoExtraICState) \
204 V(KeyedLoadIC_Megamorphic, KEYED_LOAD_IC, MEGAMORPHIC, kNoExtraICState) \ 205 V(KeyedLoadIC_Megamorphic, KEYED_LOAD_IC, MEGAMORPHIC, kNoExtraICState) \
205 \ 206 \
206 V(KeyedLoadIC_Megamorphic_Strong, KEYED_LOAD_IC, MEGAMORPHIC, \ 207 V(KeyedLoadIC_Megamorphic_Strong, KEYED_LOAD_IC, MEGAMORPHIC, \
207 LoadICState::kStrongModeState) \ 208 LoadICState::kStrongModeState) \
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
498 static void Generate_InterruptCheck(MacroAssembler* masm); 499 static void Generate_InterruptCheck(MacroAssembler* masm);
499 static void Generate_StackCheck(MacroAssembler* masm); 500 static void Generate_StackCheck(MacroAssembler* masm);
500 501
501 static void Generate_InterpreterEntryTrampoline(MacroAssembler* masm); 502 static void Generate_InterpreterEntryTrampoline(MacroAssembler* masm);
502 static void Generate_InterpreterExitTrampoline(MacroAssembler* masm); 503 static void Generate_InterpreterExitTrampoline(MacroAssembler* masm);
503 static void Generate_InterpreterPushArgsAndCall(MacroAssembler* masm); 504 static void Generate_InterpreterPushArgsAndCall(MacroAssembler* masm);
504 static void Generate_InterpreterPushArgsAndConstruct(MacroAssembler* masm); 505 static void Generate_InterpreterPushArgsAndConstruct(MacroAssembler* masm);
505 static void Generate_InterpreterNotifyDeoptimized(MacroAssembler* masm); 506 static void Generate_InterpreterNotifyDeoptimized(MacroAssembler* masm);
506 static void Generate_InterpreterNotifySoftDeoptimized(MacroAssembler* masm); 507 static void Generate_InterpreterNotifySoftDeoptimized(MacroAssembler* masm);
507 static void Generate_InterpreterNotifyLazyDeoptimized(MacroAssembler* masm); 508 static void Generate_InterpreterNotifyLazyDeoptimized(MacroAssembler* masm);
509 static void Generate_InterpreterEnterExceptionHandler(MacroAssembler* masm);
508 510
509 #define DECLARE_CODE_AGE_BUILTIN_GENERATOR(C) \ 511 #define DECLARE_CODE_AGE_BUILTIN_GENERATOR(C) \
510 static void Generate_Make##C##CodeYoungAgainEvenMarking( \ 512 static void Generate_Make##C##CodeYoungAgainEvenMarking( \
511 MacroAssembler* masm); \ 513 MacroAssembler* masm); \
512 static void Generate_Make##C##CodeYoungAgainOddMarking( \ 514 static void Generate_Make##C##CodeYoungAgainOddMarking( \
513 MacroAssembler* masm); 515 MacroAssembler* masm);
514 CODE_AGE_LIST(DECLARE_CODE_AGE_BUILTIN_GENERATOR) 516 CODE_AGE_LIST(DECLARE_CODE_AGE_BUILTIN_GENERATOR)
515 #undef DECLARE_CODE_AGE_BUILTIN_GENERATOR 517 #undef DECLARE_CODE_AGE_BUILTIN_GENERATOR
516 518
517 static void Generate_MarkCodeAsToBeExecutedOnce(MacroAssembler* masm); 519 static void Generate_MarkCodeAsToBeExecutedOnce(MacroAssembler* masm);
518 static void Generate_MarkCodeAsExecutedOnce(MacroAssembler* masm); 520 static void Generate_MarkCodeAsExecutedOnce(MacroAssembler* masm);
519 static void Generate_MarkCodeAsExecutedTwice(MacroAssembler* masm); 521 static void Generate_MarkCodeAsExecutedTwice(MacroAssembler* masm);
520 522
521 static void InitBuiltinFunctionTable(); 523 static void InitBuiltinFunctionTable();
522 524
523 bool initialized_; 525 bool initialized_;
524 526
525 friend class BuiltinFunctionTable; 527 friend class BuiltinFunctionTable;
526 friend class Isolate; 528 friend class Isolate;
527 529
528 DISALLOW_COPY_AND_ASSIGN(Builtins); 530 DISALLOW_COPY_AND_ASSIGN(Builtins);
529 }; 531 };
530 532
531 } // namespace internal 533 } // namespace internal
532 } // namespace v8 534 } // namespace v8
533 535
534 #endif // V8_BUILTINS_H_ 536 #endif // V8_BUILTINS_H_
OLDNEW
« no previous file with comments | « src/arm64/builtins-arm64.cc ('k') | src/frames.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698