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

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: rebase 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
« no previous file with comments | « src/interpreter/interpreter.cc ('k') | src/interpreter/interpreter-assembler.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 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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 125
126 // Perform a stack guard check. 126 // Perform a stack guard check.
127 void StackCheck(); 127 void StackCheck();
128 128
129 // Returns from the function. 129 // Returns from the function.
130 void InterpreterReturn(); 130 void InterpreterReturn();
131 131
132 // Dispatch to the bytecode. 132 // Dispatch to the bytecode.
133 void Dispatch(); 133 void Dispatch();
134 134
135 // Dispatch to bytecode handler.
136 void DispatchToBytecodeHandler(compiler::Node* handler,
137 compiler::Node* bytecode_offset);
138 void DispatchToBytecodeHandler(compiler::Node* handler) {
139 DispatchToBytecodeHandler(handler, BytecodeOffset());
140 }
141
135 // Abort with the given bailout reason. 142 // Abort with the given bailout reason.
136 void Abort(BailoutReason bailout_reason); 143 void Abort(BailoutReason bailout_reason);
137 144
138 protected: 145 protected:
139 static bool TargetSupportsUnalignedAccess(); 146 static bool TargetSupportsUnalignedAccess();
140 147
141 private: 148 private:
142 // Returns a raw pointer to start of the register file on the stack. 149 // Returns a raw pointer to start of the register file on the stack.
143 compiler::Node* RegisterFileRawPointer(); 150 compiler::Node* RegisterFileRawPointer();
144 // Returns a tagged pointer to the current function's BytecodeArray object. 151 // Returns a tagged pointer to the current function's BytecodeArray object.
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 compiler::Node* stack_pointer_before_call_; 196 compiler::Node* stack_pointer_before_call_;
190 197
191 DISALLOW_COPY_AND_ASSIGN(InterpreterAssembler); 198 DISALLOW_COPY_AND_ASSIGN(InterpreterAssembler);
192 }; 199 };
193 200
194 } // namespace interpreter 201 } // namespace interpreter
195 } // namespace internal 202 } // namespace internal
196 } // namespace v8 203 } // namespace v8
197 204
198 #endif // V8_INTERPRETER_INTERPRETER_ASSEMBLER_H_ 205 #endif // V8_INTERPRETER_INTERPRETER_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/interpreter/interpreter.cc ('k') | src/interpreter/interpreter-assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698