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

Side by Side Diff: src/compiler/js-graph.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/js-generic-lowering.cc ('k') | src/compiler/js-graph.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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_JS_GRAPH_H_ 5 #ifndef V8_COMPILER_JS_GRAPH_H_
6 #define V8_COMPILER_JS_GRAPH_H_ 6 #define V8_COMPILER_JS_GRAPH_H_
7 7
8 #include "src/compiler/common-node-cache.h" 8 #include "src/compiler/common-node-cache.h"
9 #include "src/compiler/common-operator.h" 9 #include "src/compiler/common-operator.h"
10 #include "src/compiler/graph.h" 10 #include "src/compiler/graph.h"
(...skipping 27 matching lines...) Expand all
38 Node* CEntryStubConstant(int result_size); 38 Node* CEntryStubConstant(int result_size);
39 Node* UndefinedConstant(); 39 Node* UndefinedConstant();
40 Node* TheHoleConstant(); 40 Node* TheHoleConstant();
41 Node* TrueConstant(); 41 Node* TrueConstant();
42 Node* FalseConstant(); 42 Node* FalseConstant();
43 Node* NullConstant(); 43 Node* NullConstant();
44 Node* ZeroConstant(); 44 Node* ZeroConstant();
45 Node* OneConstant(); 45 Node* OneConstant();
46 Node* NaNConstant(); 46 Node* NaNConstant();
47 47
48 // Creates a HeapConstant node, possibly canonicalized, without inspecting the
49 // object.
50 Node* HeapConstant(Unique<HeapObject> value);
51
52 // Creates a HeapConstant node, possibly canonicalized, and may access the 48 // Creates a HeapConstant node, possibly canonicalized, and may access the
53 // heap to inspect the object. 49 // heap to inspect the object.
54 Node* HeapConstant(Handle<HeapObject> value); 50 Node* HeapConstant(Handle<HeapObject> value);
55 51
56 // Creates a Constant node of the appropriate type for the given object. 52 // Creates a Constant node of the appropriate type for the given object.
57 // Accesses the heap to inspect the object and determine whether one of the 53 // Accesses the heap to inspect the object and determine whether one of the
58 // canonicalized globals or a number constant should be returned. 54 // canonicalized globals or a number constant should be returned.
59 Node* Constant(Handle<Object> value); 55 Node* Constant(Handle<Object> value);
60 56
61 // Creates a NumberConstant node, usually canonicalized. 57 // Creates a NumberConstant node, usually canonicalized.
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 Node* NumberConstant(double value); 154 Node* NumberConstant(double value);
159 155
160 DISALLOW_COPY_AND_ASSIGN(JSGraph); 156 DISALLOW_COPY_AND_ASSIGN(JSGraph);
161 }; 157 };
162 158
163 } // namespace compiler 159 } // namespace compiler
164 } // namespace internal 160 } // namespace internal
165 } // namespace v8 161 } // namespace v8
166 162
167 #endif 163 #endif
OLDNEW
« no previous file with comments | « src/compiler/js-generic-lowering.cc ('k') | src/compiler/js-graph.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698