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

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

Issue 2067503002: [debugger] fix stepping over await calls for ignition generators. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@test
Patch Set: address comments Created 4 years, 6 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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 compiler::Node* jump_offset); 120 compiler::Node* jump_offset);
121 121
122 // Jump relative to the current bytecode by |jump_offset| if the 122 // Jump relative to the current bytecode by |jump_offset| if the
123 // word values |lhs| and |rhs| are not equal. 123 // word values |lhs| and |rhs| are not equal.
124 void JumpIfWordNotEqual(compiler::Node* lhs, compiler::Node* rhs, 124 void JumpIfWordNotEqual(compiler::Node* lhs, compiler::Node* rhs,
125 compiler::Node* jump_offset); 125 compiler::Node* jump_offset);
126 126
127 // Returns true if the stack guard check triggers an interrupt. 127 // Returns true if the stack guard check triggers an interrupt.
128 compiler::Node* StackCheckTriggeredInterrupt(); 128 compiler::Node* StackCheckTriggeredInterrupt();
129 129
130 // Returns true if debugger is performing a step action across await.
131 compiler::Node* DebugSteppingAcrossAwait();
132
130 // Updates the profiler interrupt budget for a return. 133 // Updates the profiler interrupt budget for a return.
131 void UpdateInterruptBudgetOnReturn(); 134 void UpdateInterruptBudgetOnReturn();
132 135
133 // Dispatch to the bytecode. 136 // Dispatch to the bytecode.
134 compiler::Node* Dispatch(); 137 compiler::Node* Dispatch();
135 138
136 // Dispatch to bytecode handler. 139 // Dispatch to bytecode handler.
137 compiler::Node* DispatchToBytecodeHandler(compiler::Node* handler) { 140 compiler::Node* DispatchToBytecodeHandler(compiler::Node* handler) {
138 return DispatchToBytecodeHandler(handler, BytecodeOffset()); 141 return DispatchToBytecodeHandler(handler, BytecodeOffset());
139 } 142 }
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 compiler::Node* stack_pointer_before_call_; 240 compiler::Node* stack_pointer_before_call_;
238 241
239 DISALLOW_COPY_AND_ASSIGN(InterpreterAssembler); 242 DISALLOW_COPY_AND_ASSIGN(InterpreterAssembler);
240 }; 243 };
241 244
242 } // namespace interpreter 245 } // namespace interpreter
243 } // namespace internal 246 } // namespace internal
244 } // namespace v8 247 } // namespace v8
245 248
246 #endif // V8_INTERPRETER_INTERPRETER_ASSEMBLER_H_ 249 #endif // V8_INTERPRETER_INTERPRETER_ASSEMBLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698