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

Side by Side Diff: src/x64/macro-assembler-x64.h

Issue 1010883002: Switch full-codegen from StackHandlers to handler table. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_cleanup-isolate-dead-code
Patch Set: Fix debugger-pause-on-promise-rejection. Created 5 years, 9 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/x64/full-codegen-x64.cc ('k') | src/x64/macro-assembler-x64.cc » ('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 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_X64_MACRO_ASSEMBLER_X64_H_ 5 #ifndef V8_X64_MACRO_ASSEMBLER_X64_H_
6 #define V8_X64_MACRO_ASSEMBLER_X64_H_ 6 #define V8_X64_MACRO_ASSEMBLER_X64_H_
7 7
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/bailout-reason.h" 9 #include "src/bailout-reason.h"
10 #include "src/frames.h" 10 #include "src/frames.h"
(...skipping 1091 matching lines...) Expand 10 before | Expand all | Expand 10 after
1102 1102
1103 // Abort execution if argument is not the root value with the given index, 1103 // Abort execution if argument is not the root value with the given index,
1104 // enabled via --debug-code. 1104 // enabled via --debug-code.
1105 void AssertRootValue(Register src, 1105 void AssertRootValue(Register src,
1106 Heap::RootListIndex root_value_index, 1106 Heap::RootListIndex root_value_index,
1107 BailoutReason reason); 1107 BailoutReason reason);
1108 1108
1109 // --------------------------------------------------------------------------- 1109 // ---------------------------------------------------------------------------
1110 // Exception handling 1110 // Exception handling
1111 1111
1112 // Push a new try handler and link it into try handler chain. 1112 // Push a new stack handler and link it into stack handler chain.
1113 void PushTryHandler(StackHandler::Kind kind, int handler_index); 1113 void PushStackHandler();
1114 1114
1115 // Unlink the stack handler on top of the stack from the try handler chain. 1115 // Unlink the stack handler on top of the stack from the stack handler chain.
1116 void PopTryHandler(); 1116 void PopStackHandler();
1117 1117
1118 // --------------------------------------------------------------------------- 1118 // ---------------------------------------------------------------------------
1119 // Inline caching support 1119 // Inline caching support
1120 1120
1121 // Generate code for checking access rights - used for security checks 1121 // Generate code for checking access rights - used for security checks
1122 // on access to global objects across environments. The holder register 1122 // on access to global objects across environments. The holder register
1123 // is left untouched, but the scratch register and kScratchRegister, 1123 // is left untouched, but the scratch register and kScratchRegister,
1124 // which must be different, are clobbered. 1124 // which must be different, are clobbered.
1125 void CheckAccessGlobalProxy(Register holder_reg, 1125 void CheckAccessGlobalProxy(Register holder_reg,
1126 Register scratch, 1126 Register scratch,
(...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after
1622 masm->popfq(); \ 1622 masm->popfq(); \
1623 } \ 1623 } \
1624 masm-> 1624 masm->
1625 #else 1625 #else
1626 #define ACCESS_MASM(masm) masm-> 1626 #define ACCESS_MASM(masm) masm->
1627 #endif 1627 #endif
1628 1628
1629 } } // namespace v8::internal 1629 } } // namespace v8::internal
1630 1630
1631 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ 1631 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/x64/full-codegen-x64.cc ('k') | src/x64/macro-assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698