| OLD | NEW |
| 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/base/compiler-specific.h" | 8 #include "src/base/compiler-specific.h" |
| 9 #include "src/compiler/common-node-cache.h" | 9 #include "src/compiler/common-node-cache.h" |
| 10 #include "src/compiler/common-operator.h" | 10 #include "src/compiler/common-operator.h" |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 Isolate* isolate() const { return isolate_; } | 155 Isolate* isolate() const { return isolate_; } |
| 156 Factory* factory() const { return isolate()->factory(); } | 156 Factory* factory() const { return isolate()->factory(); } |
| 157 | 157 |
| 158 void GetCachedNodes(NodeVector* nodes); | 158 void GetCachedNodes(NodeVector* nodes); |
| 159 | 159 |
| 160 private: | 160 private: |
| 161 enum CachedNode { | 161 enum CachedNode { |
| 162 kAllocateInNewSpaceStubConstant, | 162 kAllocateInNewSpaceStubConstant, |
| 163 kAllocateInOldSpaceStubConstant, | 163 kAllocateInOldSpaceStubConstant, |
| 164 kToNumberBuiltinConstant, | 164 kToNumberBuiltinConstant, |
| 165 kCEntryStubConstant, | 165 kCEntryStub1Constant, |
| 166 kCEntryStubWithBuiltinExitFrameConstant, | 166 kCEntryStub2Constant, |
| 167 kCEntryStub3Constant, |
| 168 kCEntryStub1WithBuiltinExitFrameConstant, |
| 167 kEmptyFixedArrayConstant, | 169 kEmptyFixedArrayConstant, |
| 168 kEmptyLiteralsArrayConstant, | 170 kEmptyLiteralsArrayConstant, |
| 169 kEmptyStringConstant, | 171 kEmptyStringConstant, |
| 170 kFixedArrayMapConstant, | 172 kFixedArrayMapConstant, |
| 171 kFixedDoubleArrayMapConstant, | 173 kFixedDoubleArrayMapConstant, |
| 172 kHeapNumberMapConstant, | 174 kHeapNumberMapConstant, |
| 173 kOptimizedOutConstant, | 175 kOptimizedOutConstant, |
| 174 kStaleRegisterConstant, | 176 kStaleRegisterConstant, |
| 175 kUndefinedConstant, | 177 kUndefinedConstant, |
| 176 kTheHoleConstant, | 178 kTheHoleConstant, |
| (...skipping 20 matching lines...) Expand all Loading... |
| 197 Node* NumberConstant(double value); | 199 Node* NumberConstant(double value); |
| 198 | 200 |
| 199 DISALLOW_COPY_AND_ASSIGN(JSGraph); | 201 DISALLOW_COPY_AND_ASSIGN(JSGraph); |
| 200 }; | 202 }; |
| 201 | 203 |
| 202 } // namespace compiler | 204 } // namespace compiler |
| 203 } // namespace internal | 205 } // namespace internal |
| 204 } // namespace v8 | 206 } // namespace v8 |
| 205 | 207 |
| 206 #endif | 208 #endif |
| OLD | NEW |