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

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

Issue 2709533002: Revert of [interpreter] Create custom call opcodes for specific argument counts (Closed)
Patch Set: Created 3 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/builtins/builtins.h" 9 #include "src/builtins/builtins.h"
10 #include "src/code-stub-assembler.h" 10 #include "src/code-stub-assembler.h"
(...skipping 14 matching lines...) Expand all
25 ~InterpreterAssembler(); 25 ~InterpreterAssembler();
26 26
27 // Returns the 32-bit unsigned count immediate for bytecode operand 27 // Returns the 32-bit unsigned count immediate for bytecode operand
28 // |operand_index| in the current bytecode. 28 // |operand_index| in the current bytecode.
29 compiler::Node* BytecodeOperandCount(int operand_index); 29 compiler::Node* BytecodeOperandCount(int operand_index);
30 // Returns the 32-bit unsigned flag for bytecode operand |operand_index| 30 // Returns the 32-bit unsigned flag for bytecode operand |operand_index|
31 // in the current bytecode. 31 // in the current bytecode.
32 compiler::Node* BytecodeOperandFlag(int operand_index); 32 compiler::Node* BytecodeOperandFlag(int operand_index);
33 // Returns the 32-bit zero-extended index immediate for bytecode operand 33 // Returns the 32-bit zero-extended index immediate for bytecode operand
34 // |operand_index| in the current bytecode. 34 // |operand_index| in the current bytecode.
35 compiler::Node* BytecodeOperandIdxInt32(int operand_index);
36 // Returns the word zero-extended index immediate for bytecode operand
37 // |operand_index| in the current bytecode.
38 compiler::Node* BytecodeOperandIdx(int operand_index); 35 compiler::Node* BytecodeOperandIdx(int operand_index);
39 // Returns the smi index immediate for bytecode operand |operand_index| 36 // Returns the smi index immediate for bytecode operand |operand_index|
40 // in the current bytecode. 37 // in the current bytecode.
41 compiler::Node* BytecodeOperandIdxSmi(int operand_index); 38 compiler::Node* BytecodeOperandIdxSmi(int operand_index);
42 // Returns the 32-bit unsigned immediate for bytecode operand |operand_index| 39 // Returns the 32-bit unsigned immediate for bytecode operand |operand_index|
43 // in the current bytecode. 40 // in the current bytecode.
44 compiler::Node* BytecodeOperandUImm(int operand_index); 41 compiler::Node* BytecodeOperandUImm(int operand_index);
45 // Returns the word-size unsigned immediate for bytecode operand 42 // Returns the word-size unsigned immediate for bytecode operand
46 // |operand_index| in the current bytecode. 43 // |operand_index| in the current bytecode.
47 compiler::Node* BytecodeOperandUImmWord(int operand_index); 44 compiler::Node* BytecodeOperandUImmWord(int operand_index);
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 compiler::Node* stack_pointer_before_call_; 352 compiler::Node* stack_pointer_before_call_;
356 353
357 DISALLOW_COPY_AND_ASSIGN(InterpreterAssembler); 354 DISALLOW_COPY_AND_ASSIGN(InterpreterAssembler);
358 }; 355 };
359 356
360 } // namespace interpreter 357 } // namespace interpreter
361 } // namespace internal 358 } // namespace internal
362 } // namespace v8 359 } // namespace v8
363 360
364 #endif // V8_INTERPRETER_INTERPRETER_ASSEMBLER_H_ 361 #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