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

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

Issue 2085823003: Revert of [Interpreter] Map runtime id's to intrinsic id's in InvokeIntrinsic bytecode. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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
« 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/base/smart-pointers.h" 9 #include "src/base/smart-pointers.h"
10 #include "src/builtins.h" 10 #include "src/builtins.h"
(...skipping 23 matching lines...) Expand all
34 compiler::Node* BytecodeOperandIdx(int operand_index); 34 compiler::Node* BytecodeOperandIdx(int operand_index);
35 // Returns the Imm8 immediate for bytecode operand |operand_index| in the 35 // Returns the Imm8 immediate for bytecode operand |operand_index| in the
36 // current bytecode. 36 // current bytecode.
37 compiler::Node* BytecodeOperandImm(int operand_index); 37 compiler::Node* BytecodeOperandImm(int operand_index);
38 // Returns the register index for bytecode operand |operand_index| in the 38 // Returns the register index for bytecode operand |operand_index| in the
39 // current bytecode. 39 // current bytecode.
40 compiler::Node* BytecodeOperandReg(int operand_index); 40 compiler::Node* BytecodeOperandReg(int operand_index);
41 // Returns the runtime id immediate for bytecode operand 41 // Returns the runtime id immediate for bytecode operand
42 // |operand_index| in the current bytecode. 42 // |operand_index| in the current bytecode.
43 compiler::Node* BytecodeOperandRuntimeId(int operand_index); 43 compiler::Node* BytecodeOperandRuntimeId(int operand_index);
44 // Returns the intrinsic id immediate for bytecode operand
45 // |operand_index| in the current bytecode.
46 compiler::Node* BytecodeOperandIntrinsicId(int operand_index);
47 44
48 // Accumulator. 45 // Accumulator.
49 compiler::Node* GetAccumulator(); 46 compiler::Node* GetAccumulator();
50 void SetAccumulator(compiler::Node* value); 47 void SetAccumulator(compiler::Node* value);
51 48
52 // Context. 49 // Context.
53 compiler::Node* GetContext(); 50 compiler::Node* GetContext();
54 void SetContext(compiler::Node* value); 51 void SetContext(compiler::Node* value);
55 52
56 // Number of registers. 53 // Number of registers.
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 compiler::Node* stack_pointer_before_call_; 237 compiler::Node* stack_pointer_before_call_;
241 238
242 DISALLOW_COPY_AND_ASSIGN(InterpreterAssembler); 239 DISALLOW_COPY_AND_ASSIGN(InterpreterAssembler);
243 }; 240 };
244 241
245 } // namespace interpreter 242 } // namespace interpreter
246 } // namespace internal 243 } // namespace internal
247 } // namespace v8 244 } // namespace v8
248 245
249 #endif // V8_INTERPRETER_INTERPRETER_ASSEMBLER_H_ 246 #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