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

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

Issue 2184553003: Revert of [interpreter] Add explicit OSR polling bytecode. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_interpreter-osr-1
Patch Set: Created 4 years, 4 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/builtins/builtins.h" 9 #include "src/builtins/builtins.h"
10 #include "src/code-stub-assembler.h" 10 #include "src/code-stub-assembler.h"
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 // word values |lhs| and |rhs| are not equal. 138 // word values |lhs| and |rhs| are not equal.
139 void JumpIfWordNotEqual(compiler::Node* lhs, compiler::Node* rhs, 139 void JumpIfWordNotEqual(compiler::Node* lhs, compiler::Node* rhs,
140 compiler::Node* jump_offset); 140 compiler::Node* jump_offset);
141 141
142 // Returns true if the stack guard check triggers an interrupt. 142 // Returns true if the stack guard check triggers an interrupt.
143 compiler::Node* StackCheckTriggeredInterrupt(); 143 compiler::Node* StackCheckTriggeredInterrupt();
144 144
145 // Updates the profiler interrupt budget for a return. 145 // Updates the profiler interrupt budget for a return.
146 void UpdateInterruptBudgetOnReturn(); 146 void UpdateInterruptBudgetOnReturn();
147 147
148 // Returns the OSR nesting level from the bytecode header.
149 compiler::Node* LoadOSRNestingLevel();
150
151 // Dispatch to the bytecode. 148 // Dispatch to the bytecode.
152 compiler::Node* Dispatch(); 149 compiler::Node* Dispatch();
153 150
154 // Dispatch to bytecode handler. 151 // Dispatch to bytecode handler.
155 compiler::Node* DispatchToBytecodeHandler(compiler::Node* handler) { 152 compiler::Node* DispatchToBytecodeHandler(compiler::Node* handler) {
156 return DispatchToBytecodeHandler(handler, BytecodeOffset()); 153 return DispatchToBytecodeHandler(handler, BytecodeOffset());
157 } 154 }
158 155
159 // Dispatch bytecode as wide operand variant. 156 // Dispatch bytecode as wide operand variant.
160 void DispatchWide(OperandScale operand_scale); 157 void DispatchWide(OperandScale operand_scale);
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 compiler::Node* stack_pointer_before_call_; 277 compiler::Node* stack_pointer_before_call_;
281 278
282 DISALLOW_COPY_AND_ASSIGN(InterpreterAssembler); 279 DISALLOW_COPY_AND_ASSIGN(InterpreterAssembler);
283 }; 280 };
284 281
285 } // namespace interpreter 282 } // namespace interpreter
286 } // namespace internal 283 } // namespace internal
287 } // namespace v8 284 } // namespace v8
288 285
289 #endif // V8_INTERPRETER_INTERPRETER_ASSEMBLER_H_ 286 #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