| 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-stubs.h" | 6 #include "src/code-stubs.h" |
| 6 #include "src/compilation-info.h" | 7 #include "src/compilation-info.h" |
| 7 #include "src/compiler.h" | 8 #include "src/compiler.h" |
| 8 #include "src/parsing/parse-info.h" | |
| 9 #include "src/zone.h" | |
| 10 | |
| 11 #include "src/code-factory.h" | |
| 12 #include "src/compiler/common-operator.h" | 9 #include "src/compiler/common-operator.h" |
| 13 #include "src/compiler/graph.h" | 10 #include "src/compiler/graph.h" |
| 14 #include "src/compiler/linkage.h" | 11 #include "src/compiler/linkage.h" |
| 15 #include "src/compiler/machine-operator.h" | 12 #include "src/compiler/machine-operator.h" |
| 16 #include "src/compiler/node.h" | 13 #include "src/compiler/node.h" |
| 17 #include "src/compiler/operator.h" | 14 #include "src/compiler/operator.h" |
| 18 #include "src/compiler/pipeline.h" | 15 #include "src/compiler/pipeline.h" |
| 19 #include "src/compiler/schedule.h" | 16 #include "src/compiler/schedule.h" |
| 17 #include "src/parsing/parse-info.h" |
| 18 #include "src/zone/zone.h" |
| 20 #include "test/cctest/cctest.h" | 19 #include "test/cctest/cctest.h" |
| 21 | 20 |
| 22 namespace v8 { | 21 namespace v8 { |
| 23 namespace internal { | 22 namespace internal { |
| 24 namespace compiler { | 23 namespace compiler { |
| 25 | 24 |
| 26 static Operator dummy_operator(IrOpcode::kParameter, Operator::kNoWrite, | 25 static Operator dummy_operator(IrOpcode::kParameter, Operator::kNoWrite, |
| 27 "dummy", 0, 0, 0, 0, 0, 0); | 26 "dummy", 0, 0, 0, 0, 0, 0); |
| 28 | 27 |
| 29 // So we can get a real JS function. | 28 // So we can get a real JS function. |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 CHECK_EQ(0, static_cast<int>(descriptor->StackParameterCount())); | 108 CHECK_EQ(0, static_cast<int>(descriptor->StackParameterCount())); |
| 110 CHECK_EQ(1, static_cast<int>(descriptor->ReturnCount())); | 109 CHECK_EQ(1, static_cast<int>(descriptor->ReturnCount())); |
| 111 CHECK_EQ(Operator::kNoProperties, descriptor->properties()); | 110 CHECK_EQ(Operator::kNoProperties, descriptor->properties()); |
| 112 CHECK_EQ(false, descriptor->IsJSFunctionCall()); | 111 CHECK_EQ(false, descriptor->IsJSFunctionCall()); |
| 113 // TODO(titzer): test linkage creation for outgoing stub calls. | 112 // TODO(titzer): test linkage creation for outgoing stub calls. |
| 114 } | 113 } |
| 115 | 114 |
| 116 } // namespace compiler | 115 } // namespace compiler |
| 117 } // namespace internal | 116 } // namespace internal |
| 118 } // namespace v8 | 117 } // namespace v8 |
| OLD | NEW |