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

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

Issue 1555713002: [Interpreter] Bytecodes for exchanging registers. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase. Created 4 years, 11 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/bytecode-graph-builder.cc ('k') | src/compiler/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_COMPILER_INTERPRETER_ASSEMBLER_H_ 5 #ifndef V8_COMPILER_INTERPRETER_ASSEMBLER_H_
6 #define V8_COMPILER_INTERPRETER_ASSEMBLER_H_ 6 #define V8_COMPILER_INTERPRETER_ASSEMBLER_H_
7 7
8 // Clients of this interface shouldn't depend on lots of compiler internals. 8 // Clients of this interface shouldn't depend on lots of compiler internals.
9 // Do not include anything from src/compiler here! 9 // Do not include anything from src/compiler here!
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 void CallPrologue(); 174 void CallPrologue();
175 void CallEpilogue(); 175 void CallEpilogue();
176 176
177 // Returns the offset of register |index| relative to RegisterFilePointer(). 177 // Returns the offset of register |index| relative to RegisterFilePointer().
178 Node* RegisterFrameOffset(Node* index); 178 Node* RegisterFrameOffset(Node* index);
179 179
180 Node* SmiShiftBitsConstant(); 180 Node* SmiShiftBitsConstant();
181 Node* BytecodeOperand(int operand_index); 181 Node* BytecodeOperand(int operand_index);
182 Node* BytecodeOperandSignExtended(int operand_index); 182 Node* BytecodeOperandSignExtended(int operand_index);
183 Node* BytecodeOperandShort(int operand_index); 183 Node* BytecodeOperandShort(int operand_index);
184 Node* BytecodeOperandShortSignExtended(int operand_index);
184 185
185 Node* CallN(CallDescriptor* descriptor, Node* code_target, Node** args); 186 Node* CallN(CallDescriptor* descriptor, Node* code_target, Node** args);
186 Node* CallIC(CallInterfaceDescriptor descriptor, Node* target, Node** args); 187 Node* CallIC(CallInterfaceDescriptor descriptor, Node* target, Node** args);
187 188
188 // Returns BytecodeOffset() advanced by delta bytecodes. Note: this does not 189 // Returns BytecodeOffset() advanced by delta bytecodes. Note: this does not
189 // update BytecodeOffset() itself. 190 // update BytecodeOffset() itself.
190 Node* Advance(int delta); 191 Node* Advance(int delta);
191 Node* Advance(Node* delta); 192 Node* Advance(Node* delta);
192 193
193 // Starts next instruction dispatch at |new_bytecode_offset|. 194 // Starts next instruction dispatch at |new_bytecode_offset|.
(...skipping 16 matching lines...) Expand all
210 bool code_generated_; 211 bool code_generated_;
211 212
212 DISALLOW_COPY_AND_ASSIGN(InterpreterAssembler); 213 DISALLOW_COPY_AND_ASSIGN(InterpreterAssembler);
213 }; 214 };
214 215
215 } // namespace compiler 216 } // namespace compiler
216 } // namespace internal 217 } // namespace internal
217 } // namespace v8 218 } // namespace v8
218 219
219 #endif // V8_COMPILER_INTERPRETER_ASSEMBLER_H_ 220 #endif // V8_COMPILER_INTERPRETER_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/compiler/bytecode-graph-builder.cc ('k') | src/compiler/interpreter-assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698