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/js-builtin-reducer.h" | 5 #include "src/compiler/js-builtin-reducer.h" |
6 #include "src/compiler/js-graph.h" | 6 #include "src/compiler/js-graph.h" |
7 #include "src/compiler/node-properties-inl.h" | 7 #include "src/compiler/node-properties.h" |
8 #include "src/compiler/typer.h" | 8 #include "src/compiler/typer.h" |
9 #include "test/unittests/compiler/graph-unittest.h" | 9 #include "test/unittests/compiler/graph-unittest.h" |
10 #include "test/unittests/compiler/node-test-utils.h" | 10 #include "test/unittests/compiler/node-test-utils.h" |
11 #include "testing/gmock-support.h" | 11 #include "testing/gmock-support.h" |
12 | 12 |
13 using testing::BitEq; | 13 using testing::BitEq; |
14 using testing::Capture; | 14 using testing::Capture; |
15 | 15 |
16 namespace v8 { | 16 namespace v8 { |
17 namespace internal { | 17 namespace internal { |
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
292 graph()->NewNode(javascript()->CallFunction(3, NO_CALL_FUNCTION_FLAGS), | 292 graph()->NewNode(javascript()->CallFunction(3, NO_CALL_FUNCTION_FLAGS), |
293 fun, UndefinedConstant(), p0); | 293 fun, UndefinedConstant(), p0); |
294 Reduction r = Reduce(call, MachineOperatorBuilder::Flag::kNoFlags); | 294 Reduction r = Reduce(call, MachineOperatorBuilder::Flag::kNoFlags); |
295 | 295 |
296 ASSERT_FALSE(r.Changed()); | 296 ASSERT_FALSE(r.Changed()); |
297 } | 297 } |
298 } | 298 } |
299 } // namespace compiler | 299 } // namespace compiler |
300 } // namespace internal | 300 } // namespace internal |
301 } // namespace v8 | 301 } // namespace v8 |
OLD | NEW |