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 "test/cctest/compiler/graph-builder-tester.h" | 5 #include "test/cctest/compiler/graph-builder-tester.h" |
| 6 |
| 7 #include "src/compiler/linkage.h" |
6 #include "src/compiler/pipeline.h" | 8 #include "src/compiler/pipeline.h" |
7 | 9 |
8 namespace v8 { | 10 namespace v8 { |
9 namespace internal { | 11 namespace internal { |
10 namespace compiler { | 12 namespace compiler { |
11 | 13 |
12 MachineCallHelper::MachineCallHelper(Zone* zone, MachineSignature* machine_sig) | 14 MachineCallHelper::MachineCallHelper(Zone* zone, MachineSignature* machine_sig) |
13 : CallHelper(zone->isolate(), machine_sig), | 15 : CallHelper(zone->isolate(), machine_sig), |
14 parameters_(NULL), | 16 parameters_(NULL), |
15 graph_(NULL) {} | 17 graph_(NULL) {} |
(...skipping 29 matching lines...) Expand all Loading... |
45 | 47 |
46 Node* MachineCallHelper::Parameter(size_t index) { | 48 Node* MachineCallHelper::Parameter(size_t index) { |
47 DCHECK_NE(NULL, parameters_); | 49 DCHECK_NE(NULL, parameters_); |
48 DCHECK(index < parameter_count()); | 50 DCHECK(index < parameter_count()); |
49 return parameters_[index]; | 51 return parameters_[index]; |
50 } | 52 } |
51 | 53 |
52 } // namespace compiler | 54 } // namespace compiler |
53 } // namespace internal | 55 } // namespace internal |
54 } // namespace v8 | 56 } // namespace v8 |
OLD | NEW |