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 #include "src/code-factory.h" | 5 #include "src/code-factory.h" |
6 #include "src/code-stubs.h" | 6 #include "src/code-stubs.h" |
7 #include "src/compiler/common-operator.h" | 7 #include "src/compiler/common-operator.h" |
8 #include "src/compiler/js-generic-lowering.h" | 8 #include "src/compiler/js-generic-lowering.h" |
9 #include "src/compiler/machine-operator.h" | 9 #include "src/compiler/machine-operator.h" |
10 #include "src/compiler/node-aux-data-inl.h" | 10 #include "src/compiler/node-aux-data-inl.h" |
11 #include "src/compiler/node-matchers.h" | 11 #include "src/compiler/node-matchers.h" |
12 #include "src/compiler/node-properties-inl.h" | 12 #include "src/compiler/node-properties.h" |
| 13 #include "src/compiler/operator-properties.h" |
13 #include "src/unique.h" | 14 #include "src/unique.h" |
14 | 15 |
15 namespace v8 { | 16 namespace v8 { |
16 namespace internal { | 17 namespace internal { |
17 namespace compiler { | 18 namespace compiler { |
18 | 19 |
19 JSGenericLowering::JSGenericLowering(CompilationInfo* info, JSGraph* jsgraph) | 20 JSGenericLowering::JSGenericLowering(CompilationInfo* info, JSGraph* jsgraph) |
20 : info_(info), | 21 : info_(info), |
21 jsgraph_(jsgraph), | 22 jsgraph_(jsgraph), |
22 linkage_(new (jsgraph->zone()) Linkage(jsgraph->zone(), info)) {} | 23 linkage_(new (jsgraph->zone()) Linkage(jsgraph->zone(), info)) {} |
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
434 | 435 |
435 | 436 |
436 void JSGenericLowering::LowerJSCallRuntime(Node* node) { | 437 void JSGenericLowering::LowerJSCallRuntime(Node* node) { |
437 const CallRuntimeParameters& p = CallRuntimeParametersOf(node->op()); | 438 const CallRuntimeParameters& p = CallRuntimeParametersOf(node->op()); |
438 ReplaceWithRuntimeCall(node, p.id(), static_cast<int>(p.arity())); | 439 ReplaceWithRuntimeCall(node, p.id(), static_cast<int>(p.arity())); |
439 } | 440 } |
440 | 441 |
441 } // namespace compiler | 442 } // namespace compiler |
442 } // namespace internal | 443 } // namespace internal |
443 } // namespace v8 | 444 } // namespace v8 |
OLD | NEW |