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

Side by Side Diff: src/compiler/js-graph.h

Issue 636893002: [turbofan] Drop broken StaticParameterTraits. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix typo... Created 6 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « src/compiler/common-operator.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 28 matching lines...) Expand all
39 Node* TheHoleConstant(); 39 Node* TheHoleConstant();
40 Node* TrueConstant(); 40 Node* TrueConstant();
41 Node* FalseConstant(); 41 Node* FalseConstant();
42 Node* NullConstant(); 42 Node* NullConstant();
43 Node* ZeroConstant(); 43 Node* ZeroConstant();
44 Node* OneConstant(); 44 Node* OneConstant();
45 Node* NaNConstant(); 45 Node* NaNConstant();
46 46
47 // Creates a HeapConstant node, possibly canonicalized, without inspecting the 47 // Creates a HeapConstant node, possibly canonicalized, without inspecting the
48 // object. 48 // object.
49 Node* HeapConstant(Unique<Object> value); 49 Node* HeapConstant(Unique<HeapObject> value);
50 50
51 // Creates a HeapConstant node, possibly canonicalized, and may access the 51 // Creates a HeapConstant node, possibly canonicalized, and may access the
52 // heap to inspect the object. 52 // heap to inspect the object.
53 Node* HeapConstant(Handle<Object> value); 53 Node* HeapConstant(Handle<HeapObject> value);
54 54
55 // Creates a Constant node of the appropriate type for the given object. 55 // Creates a Constant node of the appropriate type for the given object.
56 // Accesses the heap to inspect the object and determine whether one of the 56 // Accesses the heap to inspect the object and determine whether one of the
57 // canonicalized globals or a number constant should be returned. 57 // canonicalized globals or a number constant should be returned.
58 Node* Constant(Handle<Object> value); 58 Node* Constant(Handle<Object> value);
59 59
60 // Creates a NumberConstant node, usually canonicalized. 60 // Creates a NumberConstant node, usually canonicalized.
61 Node* Constant(double value); 61 Node* Constant(double value);
62 62
63 // Creates a NumberConstant node, usually canonicalized. 63 // Creates a NumberConstant node, usually canonicalized.
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 SetOncePointer<Node> the_hole_constant_; 102 SetOncePointer<Node> the_hole_constant_;
103 SetOncePointer<Node> true_constant_; 103 SetOncePointer<Node> true_constant_;
104 SetOncePointer<Node> false_constant_; 104 SetOncePointer<Node> false_constant_;
105 SetOncePointer<Node> null_constant_; 105 SetOncePointer<Node> null_constant_;
106 SetOncePointer<Node> zero_constant_; 106 SetOncePointer<Node> zero_constant_;
107 SetOncePointer<Node> one_constant_; 107 SetOncePointer<Node> one_constant_;
108 SetOncePointer<Node> nan_constant_; 108 SetOncePointer<Node> nan_constant_;
109 109
110 CommonNodeCache cache_; 110 CommonNodeCache cache_;
111 111
112 Node* ImmovableHeapConstant(Handle<Object> value); 112 Node* ImmovableHeapConstant(Handle<HeapObject> value);
113 Node* NumberConstant(double value); 113 Node* NumberConstant(double value);
114 Node* NewNode(const Operator* op); 114 Node* NewNode(const Operator* op);
115 115
116 Factory* factory() { return isolate()->factory(); } 116 Factory* factory() { return isolate()->factory(); }
117 }; 117 };
118 118
119 } // namespace compiler 119 } // namespace compiler
120 } // namespace internal 120 } // namespace internal
121 } // namespace v8 121 } // namespace v8
122 122
123 #endif 123 #endif
OLDNEW
« no previous file with comments | « src/compiler/common-operator.cc ('k') | src/compiler/js-graph.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698