Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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 <sstream> | 5 #include <sstream> |
| 6 | 6 |
| 7 #include "src/v8.h" | 7 #include "src/v8.h" |
| 8 | 8 |
| 9 #include "src/compiler/operator.h" | 9 #include "src/compiler/operator.h" |
| 10 #include "test/cctest/cctest.h" | 10 #include "test/cctest/cctest.h" |
| (...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 274 TEST(Operator_CountsOrder) { | 274 TEST(Operator_CountsOrder) { |
| 275 Operator op(29, NONE, "Flashy", 11, 22, 33, 44, 55, 66); | 275 Operator op(29, NONE, "Flashy", 11, 22, 33, 44, 55, 66); |
| 276 CHECK_EQ(11, op.ValueInputCount()); | 276 CHECK_EQ(11, op.ValueInputCount()); |
| 277 CHECK_EQ(22, op.EffectInputCount()); | 277 CHECK_EQ(22, op.EffectInputCount()); |
| 278 CHECK_EQ(33, op.ControlInputCount()); | 278 CHECK_EQ(33, op.ControlInputCount()); |
| 279 | 279 |
| 280 CHECK_EQ(44, op.ValueOutputCount()); | 280 CHECK_EQ(44, op.ValueOutputCount()); |
| 281 CHECK_EQ(55, op.EffectOutputCount()); | 281 CHECK_EQ(55, op.EffectOutputCount()); |
| 282 CHECK_EQ(66, op.ControlOutputCount()); | 282 CHECK_EQ(66, op.ControlOutputCount()); |
| 283 } | 283 } |
| 284 | |
| 285 #undef NONE | |
| 286 #undef FOLD | |
|
ulan
2015/06/01 13:08:24
This should be done in concatenation script.
Erik Corry
2015/06/01 15:15:47
Done
| |
| OLD | NEW |