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

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

Issue 1314473007: [turbofan] Remove usage of Unique<T> from graph. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebased and fixed. Created 5 years, 3 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/instruction-selector-impl.h ('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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 void SetAccumulator(Node* value); 52 void SetAccumulator(Node* value);
53 53
54 // Loads from and stores to the interpreter register file. 54 // Loads from and stores to the interpreter register file.
55 Node* LoadRegister(Node* reg_index); 55 Node* LoadRegister(Node* reg_index);
56 Node* StoreRegister(Node* value, Node* reg_index); 56 Node* StoreRegister(Node* value, Node* reg_index);
57 57
58 // Constants. 58 // Constants.
59 Node* Int32Constant(int value); 59 Node* Int32Constant(int value);
60 Node* IntPtrConstant(intptr_t value); 60 Node* IntPtrConstant(intptr_t value);
61 Node* NumberConstant(double value); 61 Node* NumberConstant(double value);
62 Node* HeapConstant(Unique<HeapObject> object); 62 Node* HeapConstant(Handle<HeapObject> object);
63 63
64 // Tag and untag Smi values. 64 // Tag and untag Smi values.
65 Node* SmiTag(Node* value); 65 Node* SmiTag(Node* value);
66 Node* SmiUntag(Node* value); 66 Node* SmiUntag(Node* value);
67 67
68 // Load constant at |index| in the constant pool. 68 // Load constant at |index| in the constant pool.
69 Node* LoadConstantPoolEntry(Node* index); 69 Node* LoadConstantPoolEntry(Node* index);
70 70
71 // Load a field from an object on the heap. 71 // Load a field from an object on the heap.
72 Node* LoadObjectField(Node* object, int offset); 72 Node* LoadObjectField(Node* object, int offset);
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 bool code_generated_; 136 bool code_generated_;
137 137
138 DISALLOW_COPY_AND_ASSIGN(InterpreterAssembler); 138 DISALLOW_COPY_AND_ASSIGN(InterpreterAssembler);
139 }; 139 };
140 140
141 } // namespace interpreter 141 } // namespace interpreter
142 } // namespace internal 142 } // namespace internal
143 } // namespace v8 143 } // namespace v8
144 144
145 #endif // V8_COMPILER_INTERPRETER_ASSEMBLER_H_ 145 #endif // V8_COMPILER_INTERPRETER_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/compiler/instruction-selector-impl.h ('k') | src/compiler/interpreter-assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698