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

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

Issue 1659023002: [interpreter] Unify meaning of register count operands. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase Created 4 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/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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 Node* HeapConstant(Handle<HeapObject> object); 81 Node* HeapConstant(Handle<HeapObject> object);
82 Node* BooleanConstant(bool value); 82 Node* BooleanConstant(bool value);
83 83
84 // Tag and untag Smi values. 84 // Tag and untag Smi values.
85 Node* SmiTag(Node* value); 85 Node* SmiTag(Node* value);
86 Node* SmiUntag(Node* value); 86 Node* SmiUntag(Node* value);
87 87
88 // Basic arithmetic operations. 88 // Basic arithmetic operations.
89 Node* IntPtrAdd(Node* a, Node* b); 89 Node* IntPtrAdd(Node* a, Node* b);
90 Node* IntPtrSub(Node* a, Node* b); 90 Node* IntPtrSub(Node* a, Node* b);
91 Node* Int32Sub(Node* a, Node* b);
91 Node* WordShl(Node* value, int shift); 92 Node* WordShl(Node* value, int shift);
92 93
93 // Load constant at |index| in the constant pool. 94 // Load constant at |index| in the constant pool.
94 Node* LoadConstantPoolEntry(Node* index); 95 Node* LoadConstantPoolEntry(Node* index);
95 96
96 // Load an element from a fixed array on the heap. 97 // Load an element from a fixed array on the heap.
97 Node* LoadFixedArrayElement(Node* fixed_array, int index); 98 Node* LoadFixedArrayElement(Node* fixed_array, int index);
98 99
99 // Load a field from an object on the heap. 100 // Load a field from an object on the heap.
100 Node* LoadObjectField(Node* object, int offset); 101 Node* LoadObjectField(Node* object, int offset);
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 bool code_generated_; 219 bool code_generated_;
219 220
220 DISALLOW_COPY_AND_ASSIGN(InterpreterAssembler); 221 DISALLOW_COPY_AND_ASSIGN(InterpreterAssembler);
221 }; 222 };
222 223
223 } // namespace compiler 224 } // namespace compiler
224 } // namespace internal 225 } // namespace internal
225 } // namespace v8 226 } // namespace v8
226 227
227 #endif // V8_COMPILER_INTERPRETER_ASSEMBLER_H_ 228 #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