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

Side by Side Diff: src/interpreter/bytecode-array-builder.h

Issue 2501503005: [Interpreter] Add SetPendingMessage bytecode. (Closed)
Patch Set: cl format Created 4 years, 1 month 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/bytecode-graph-builder.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/base/compiler-specific.h" 9 #include "src/base/compiler-specific.h"
10 #include "src/globals.h" 10 #include "src/globals.h"
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 BytecodeArrayBuilder& Jump(BytecodeLabel* label); 265 BytecodeArrayBuilder& Jump(BytecodeLabel* label);
266 BytecodeArrayBuilder& JumpIfTrue(BytecodeLabel* label); 266 BytecodeArrayBuilder& JumpIfTrue(BytecodeLabel* label);
267 BytecodeArrayBuilder& JumpIfFalse(BytecodeLabel* label); 267 BytecodeArrayBuilder& JumpIfFalse(BytecodeLabel* label);
268 BytecodeArrayBuilder& JumpIfNotHole(BytecodeLabel* label); 268 BytecodeArrayBuilder& JumpIfNotHole(BytecodeLabel* label);
269 BytecodeArrayBuilder& JumpIfNull(BytecodeLabel* label); 269 BytecodeArrayBuilder& JumpIfNull(BytecodeLabel* label);
270 BytecodeArrayBuilder& JumpIfUndefined(BytecodeLabel* label); 270 BytecodeArrayBuilder& JumpIfUndefined(BytecodeLabel* label);
271 BytecodeArrayBuilder& JumpLoop(BytecodeLabel* label, int loop_depth); 271 BytecodeArrayBuilder& JumpLoop(BytecodeLabel* label, int loop_depth);
272 272
273 BytecodeArrayBuilder& StackCheck(int position); 273 BytecodeArrayBuilder& StackCheck(int position);
274 274
275 // Sets the pending message to the value in the accumulator, and returns the
276 // previous pending message in the accumulator.
277 BytecodeArrayBuilder& SetPendingMessage();
278
275 BytecodeArrayBuilder& Throw(); 279 BytecodeArrayBuilder& Throw();
276 BytecodeArrayBuilder& ReThrow(); 280 BytecodeArrayBuilder& ReThrow();
277 BytecodeArrayBuilder& Return(); 281 BytecodeArrayBuilder& Return();
278 282
279 // Debugger. 283 // Debugger.
280 BytecodeArrayBuilder& Debugger(); 284 BytecodeArrayBuilder& Debugger();
281 285
282 // Complex flow control. 286 // Complex flow control.
283 BytecodeArrayBuilder& ForInPrepare(Register receiver, 287 BytecodeArrayBuilder& ForInPrepare(Register receiver,
284 RegisterList cache_info_triple); 288 RegisterList cache_info_triple);
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
411 static int const kNoFeedbackSlot = 0; 415 static int const kNoFeedbackSlot = 0;
412 416
413 DISALLOW_COPY_AND_ASSIGN(BytecodeArrayBuilder); 417 DISALLOW_COPY_AND_ASSIGN(BytecodeArrayBuilder);
414 }; 418 };
415 419
416 } // namespace interpreter 420 } // namespace interpreter
417 } // namespace internal 421 } // namespace internal
418 } // namespace v8 422 } // namespace v8
419 423
420 #endif // V8_INTERPRETER_BYTECODE_ARRAY_BUILDER_H_ 424 #endif // V8_INTERPRETER_BYTECODE_ARRAY_BUILDER_H_
OLDNEW
« no previous file with comments | « src/compiler/bytecode-graph-builder.cc ('k') | src/interpreter/bytecode-array-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698