| 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/compiler/common-operator.h" | |
| 6 | |
| 7 #include <limits> | 5 #include <limits> |
| 8 | 6 |
| 9 #include "src/compiler/operator-properties-inl.h" | 7 #include "src/compiler/common-operator.h" |
| 8 #include "src/compiler/opcodes.h" |
| 9 #include "src/compiler/operator.h" |
| 10 #include "src/compiler/operator-properties.h" |
| 10 #include "test/unittests/test-utils.h" | 11 #include "test/unittests/test-utils.h" |
| 11 | 12 |
| 12 namespace v8 { | 13 namespace v8 { |
| 13 namespace internal { | 14 namespace internal { |
| 14 namespace compiler { | 15 namespace compiler { |
| 15 | 16 |
| 16 | 17 |
| 17 // ----------------------------------------------------------------------------- | 18 // ----------------------------------------------------------------------------- |
| 18 // Shared operators. | 19 // Shared operators. |
| 19 | 20 |
| (...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 283 EXPECT_EQ(arguments + 1, OperatorProperties::GetTotalInputCount(op)); | 284 EXPECT_EQ(arguments + 1, OperatorProperties::GetTotalInputCount(op)); |
| 284 EXPECT_EQ(0, op->ControlOutputCount()); | 285 EXPECT_EQ(0, op->ControlOutputCount()); |
| 285 EXPECT_EQ(0, op->EffectOutputCount()); | 286 EXPECT_EQ(0, op->EffectOutputCount()); |
| 286 EXPECT_EQ(1, op->ValueOutputCount()); | 287 EXPECT_EQ(1, op->ValueOutputCount()); |
| 287 } | 288 } |
| 288 } | 289 } |
| 289 | 290 |
| 290 } // namespace compiler | 291 } // namespace compiler |
| 291 } // namespace internal | 292 } // namespace internal |
| 292 } // namespace v8 | 293 } // namespace v8 |
| OLD | NEW |