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

Side by Side Diff: src/interpreter/bytecode-array-builder.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/compiler/code-assembler.cc ('k') | src/interpreter/bytecode-array-builder.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_BYTECODE_ARRAY_BUILDER_H_ 5 #ifndef V8_INTERPRETER_BYTECODE_ARRAY_BUILDER_H_
6 #define V8_INTERPRETER_BYTECODE_ARRAY_BUILDER_H_ 6 #define V8_INTERPRETER_BYTECODE_ARRAY_BUILDER_H_
7 7
8 #include "src/ast/ast.h" 8 #include "src/ast/ast.h"
9 #include "src/interpreter/bytecode-array-writer.h" 9 #include "src/interpreter/bytecode-array-writer.h"
10 #include "src/interpreter/bytecode-register-allocator.h" 10 #include "src/interpreter/bytecode-register-allocator.h"
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 226
227 BytecodeArrayBuilder& Jump(BytecodeLabel* label); 227 BytecodeArrayBuilder& Jump(BytecodeLabel* label);
228 BytecodeArrayBuilder& JumpIfTrue(BytecodeLabel* label); 228 BytecodeArrayBuilder& JumpIfTrue(BytecodeLabel* label);
229 BytecodeArrayBuilder& JumpIfFalse(BytecodeLabel* label); 229 BytecodeArrayBuilder& JumpIfFalse(BytecodeLabel* label);
230 BytecodeArrayBuilder& JumpIfNotHole(BytecodeLabel* label); 230 BytecodeArrayBuilder& JumpIfNotHole(BytecodeLabel* label);
231 BytecodeArrayBuilder& JumpIfNull(BytecodeLabel* label); 231 BytecodeArrayBuilder& JumpIfNull(BytecodeLabel* label);
232 BytecodeArrayBuilder& JumpIfUndefined(BytecodeLabel* label); 232 BytecodeArrayBuilder& JumpIfUndefined(BytecodeLabel* label);
233 233
234 BytecodeArrayBuilder& StackCheck(int position); 234 BytecodeArrayBuilder& StackCheck(int position);
235 235
236 BytecodeArrayBuilder& OsrPoll(int loop_depth);
237
238 BytecodeArrayBuilder& Throw(); 236 BytecodeArrayBuilder& Throw();
239 BytecodeArrayBuilder& ReThrow(); 237 BytecodeArrayBuilder& ReThrow();
240 BytecodeArrayBuilder& Return(); 238 BytecodeArrayBuilder& Return();
241 239
242 // Debugger. 240 // Debugger.
243 BytecodeArrayBuilder& Debugger(); 241 BytecodeArrayBuilder& Debugger();
244 242
245 // Complex flow control. 243 // Complex flow control.
246 BytecodeArrayBuilder& ForInPrepare(Register cache_info_triple); 244 BytecodeArrayBuilder& ForInPrepare(Register cache_info_triple);
247 BytecodeArrayBuilder& ForInDone(Register index, Register cache_length); 245 BytecodeArrayBuilder& ForInDone(Register index, Register cache_length);
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 BytecodeSourceInfo latest_source_info_; 380 BytecodeSourceInfo latest_source_info_;
383 381
384 DISALLOW_COPY_AND_ASSIGN(BytecodeArrayBuilder); 382 DISALLOW_COPY_AND_ASSIGN(BytecodeArrayBuilder);
385 }; 383 };
386 384
387 } // namespace interpreter 385 } // namespace interpreter
388 } // namespace internal 386 } // namespace internal
389 } // namespace v8 387 } // namespace v8
390 388
391 #endif // V8_INTERPRETER_BYTECODE_ARRAY_BUILDER_H_ 389 #endif // V8_INTERPRETER_BYTECODE_ARRAY_BUILDER_H_
OLDNEW
« no previous file with comments | « src/compiler/code-assembler.cc ('k') | src/interpreter/bytecode-array-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698