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

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: 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 | « no previous file | src/frames.h » ('j') | src/frames.cc » ('J')
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 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 V(NotifyStubFailure, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 190 V(NotifyStubFailure, BUILTIN, UNINITIALIZED, kNoExtraICState) \
191 V(NotifyStubFailureSaveDoubles, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 191 V(NotifyStubFailureSaveDoubles, BUILTIN, UNINITIALIZED, kNoExtraICState) \
192 \ 192 \
193 V(InterpreterEntryTrampoline, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 193 V(InterpreterEntryTrampoline, BUILTIN, UNINITIALIZED, kNoExtraICState) \
194 V(InterpreterExitTrampoline, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 194 V(InterpreterExitTrampoline, BUILTIN, UNINITIALIZED, kNoExtraICState) \
195 V(InterpreterPushArgsAndCall, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 195 V(InterpreterPushArgsAndCall, BUILTIN, UNINITIALIZED, kNoExtraICState) \
196 V(InterpreterPushArgsAndConstruct, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 196 V(InterpreterPushArgsAndConstruct, BUILTIN, UNINITIALIZED, kNoExtraICState) \
197 V(InterpreterNotifyDeoptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 197 V(InterpreterNotifyDeoptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \
198 V(InterpreterNotifySoftDeoptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 198 V(InterpreterNotifySoftDeoptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \
199 V(InterpreterNotifyLazyDeoptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 199 V(InterpreterNotifyLazyDeoptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \
200 V(InterpreterEnterExceptionHandler, BUILTIN, UNINITIALIZED, kNoExtraICState) \
200 \ 201 \
201 V(LoadIC_Miss, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 202 V(LoadIC_Miss, BUILTIN, UNINITIALIZED, kNoExtraICState) \
202 V(KeyedLoadIC_Miss, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 203 V(KeyedLoadIC_Miss, BUILTIN, UNINITIALIZED, kNoExtraICState) \
203 V(StoreIC_Miss, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 204 V(StoreIC_Miss, BUILTIN, UNINITIALIZED, kNoExtraICState) \
204 V(KeyedStoreIC_Miss, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 205 V(KeyedStoreIC_Miss, BUILTIN, UNINITIALIZED, kNoExtraICState) \
205 V(LoadIC_Getter_ForDeopt, LOAD_IC, MONOMORPHIC, kNoExtraICState) \ 206 V(LoadIC_Getter_ForDeopt, LOAD_IC, MONOMORPHIC, kNoExtraICState) \
206 V(KeyedLoadIC_Megamorphic, KEYED_LOAD_IC, MEGAMORPHIC, kNoExtraICState) \ 207 V(KeyedLoadIC_Megamorphic, KEYED_LOAD_IC, MEGAMORPHIC, kNoExtraICState) \
207 \ 208 \
208 V(KeyedLoadIC_Megamorphic_Strong, KEYED_LOAD_IC, MEGAMORPHIC, \ 209 V(KeyedLoadIC_Megamorphic_Strong, KEYED_LOAD_IC, MEGAMORPHIC, \
209 LoadICState::kStrongModeState) \ 210 LoadICState::kStrongModeState) \
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
500 static void Generate_InterruptCheck(MacroAssembler* masm); 501 static void Generate_InterruptCheck(MacroAssembler* masm);
501 static void Generate_StackCheck(MacroAssembler* masm); 502 static void Generate_StackCheck(MacroAssembler* masm);
502 503
503 static void Generate_InterpreterEntryTrampoline(MacroAssembler* masm); 504 static void Generate_InterpreterEntryTrampoline(MacroAssembler* masm);
504 static void Generate_InterpreterExitTrampoline(MacroAssembler* masm); 505 static void Generate_InterpreterExitTrampoline(MacroAssembler* masm);
505 static void Generate_InterpreterPushArgsAndCall(MacroAssembler* masm); 506 static void Generate_InterpreterPushArgsAndCall(MacroAssembler* masm);
506 static void Generate_InterpreterPushArgsAndConstruct(MacroAssembler* masm); 507 static void Generate_InterpreterPushArgsAndConstruct(MacroAssembler* masm);
507 static void Generate_InterpreterNotifyDeoptimized(MacroAssembler* masm); 508 static void Generate_InterpreterNotifyDeoptimized(MacroAssembler* masm);
508 static void Generate_InterpreterNotifySoftDeoptimized(MacroAssembler* masm); 509 static void Generate_InterpreterNotifySoftDeoptimized(MacroAssembler* masm);
509 static void Generate_InterpreterNotifyLazyDeoptimized(MacroAssembler* masm); 510 static void Generate_InterpreterNotifyLazyDeoptimized(MacroAssembler* masm);
511 static void Generate_InterpreterEnterExceptionHandler(MacroAssembler* masm);
510 512
511 #define DECLARE_CODE_AGE_BUILTIN_GENERATOR(C) \ 513 #define DECLARE_CODE_AGE_BUILTIN_GENERATOR(C) \
512 static void Generate_Make##C##CodeYoungAgainEvenMarking( \ 514 static void Generate_Make##C##CodeYoungAgainEvenMarking( \
513 MacroAssembler* masm); \ 515 MacroAssembler* masm); \
514 static void Generate_Make##C##CodeYoungAgainOddMarking( \ 516 static void Generate_Make##C##CodeYoungAgainOddMarking( \
515 MacroAssembler* masm); 517 MacroAssembler* masm);
516 CODE_AGE_LIST(DECLARE_CODE_AGE_BUILTIN_GENERATOR) 518 CODE_AGE_LIST(DECLARE_CODE_AGE_BUILTIN_GENERATOR)
517 #undef DECLARE_CODE_AGE_BUILTIN_GENERATOR 519 #undef DECLARE_CODE_AGE_BUILTIN_GENERATOR
518 520
519 static void Generate_MarkCodeAsToBeExecutedOnce(MacroAssembler* masm); 521 static void Generate_MarkCodeAsToBeExecutedOnce(MacroAssembler* masm);
520 static void Generate_MarkCodeAsExecutedOnce(MacroAssembler* masm); 522 static void Generate_MarkCodeAsExecutedOnce(MacroAssembler* masm);
521 static void Generate_MarkCodeAsExecutedTwice(MacroAssembler* masm); 523 static void Generate_MarkCodeAsExecutedTwice(MacroAssembler* masm);
522 524
523 static void InitBuiltinFunctionTable(); 525 static void InitBuiltinFunctionTable();
524 526
525 bool initialized_; 527 bool initialized_;
526 528
527 friend class BuiltinFunctionTable; 529 friend class BuiltinFunctionTable;
528 friend class Isolate; 530 friend class Isolate;
529 531
530 DISALLOW_COPY_AND_ASSIGN(Builtins); 532 DISALLOW_COPY_AND_ASSIGN(Builtins);
531 }; 533 };
532 534
533 } // namespace internal 535 } // namespace internal
534 } // namespace v8 536 } // namespace v8
535 537
536 #endif // V8_BUILTINS_H_ 538 #endif // V8_BUILTINS_H_
OLDNEW
« no previous file with comments | « no previous file | src/frames.h » ('j') | src/frames.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698