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

Side by Side Diff: src/interpreter/interpreter-assembler.h

Issue 1703453002: [interpreter, debugger] support debug breaks via bytecode array copy (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 10 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
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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_INTERPRETER_INTERPRETER_ASSEMBLER_H_ 5 #ifndef V8_INTERPRETER_INTERPRETER_ASSEMBLER_H_
6 #define V8_INTERPRETER_INTERPRETER_ASSEMBLER_H_ 6 #define V8_INTERPRETER_INTERPRETER_ASSEMBLER_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/base/smart-pointers.h" 9 #include "src/base/smart-pointers.h"
10 #include "src/builtins.h" 10 #include "src/builtins.h"
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 124
125 // Perform a stack guard check. 125 // Perform a stack guard check.
126 void StackCheck(); 126 void StackCheck();
127 127
128 // Returns from the function. 128 // Returns from the function.
129 void InterpreterReturn(); 129 void InterpreterReturn();
130 130
131 // Dispatch to the bytecode. 131 // Dispatch to the bytecode.
132 void Dispatch(); 132 void Dispatch();
133 133
134 // Dispatch to handler.
rmcilroy 2016/02/16 10:46:38 /s/handler/bytecode handler/
Yang 2016/02/19 13:09:18 Done.
135 void DispatchToHandler(compiler::Node* handler);
136
134 // Abort with the given bailout reason. 137 // Abort with the given bailout reason.
135 void Abort(BailoutReason bailout_reason); 138 void Abort(BailoutReason bailout_reason);
136 139
137 protected: 140 protected:
138 static bool TargetSupportsUnalignedAccess(); 141 static bool TargetSupportsUnalignedAccess();
139 142
140 private: 143 private:
141 // Returns a raw pointer to start of the register file on the stack. 144 // Returns a raw pointer to start of the register file on the stack.
142 compiler::Node* RegisterFileRawPointer(); 145 compiler::Node* RegisterFileRawPointer();
143 // Returns a tagged pointer to the current function's BytecodeArray object. 146 // Returns a tagged pointer to the current function's BytecodeArray object.
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 compiler::Node* stack_pointer_before_call_; 187 compiler::Node* stack_pointer_before_call_;
185 188
186 DISALLOW_COPY_AND_ASSIGN(InterpreterAssembler); 189 DISALLOW_COPY_AND_ASSIGN(InterpreterAssembler);
187 }; 190 };
188 191
189 } // namespace interpreter 192 } // namespace interpreter
190 } // namespace internal 193 } // namespace internal
191 } // namespace v8 194 } // namespace v8
192 195
193 #endif // V8_INTERPRETER_INTERPRETER_ASSEMBLER_H_ 196 #endif // V8_INTERPRETER_INTERPRETER_ASSEMBLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698