OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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/base/utils/random-number-generator.h" | 5 #include "src/base/utils/random-number-generator.h" |
| 6 #include "src/code-factory.h" |
| 7 #include "src/code-stub-assembler.h" |
| 8 #include "src/compiler/node.h" |
6 #include "src/ic/stub-cache.h" | 9 #include "src/ic/stub-cache.h" |
7 #include "src/isolate.h" | 10 #include "src/isolate.h" |
8 #include "test/cctest/compiler/code-assembler-tester.h" | 11 #include "test/cctest/compiler/code-assembler-tester.h" |
9 #include "test/cctest/compiler/function-tester.h" | 12 #include "test/cctest/compiler/function-tester.h" |
10 | 13 |
11 namespace v8 { | 14 namespace v8 { |
12 namespace internal { | 15 namespace internal { |
13 | 16 |
14 using compiler::FunctionTester; | 17 using compiler::FunctionTester; |
15 using compiler::Node; | 18 using compiler::Node; |
(...skipping 1452 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1468 | 1471 |
1469 Handle<Object> constructor = | 1472 Handle<Object> constructor = |
1470 Object::GetPropertyOrElement(result, | 1473 Object::GetPropertyOrElement(result, |
1471 isolate->factory()->constructor_string()) | 1474 isolate->factory()->constructor_string()) |
1472 .ToHandleChecked(); | 1475 .ToHandleChecked(); |
1473 CHECK(constructor->SameValue(*isolate->type_error_function())); | 1476 CHECK(constructor->SameValue(*isolate->type_error_function())); |
1474 } | 1477 } |
1475 | 1478 |
1476 } // namespace internal | 1479 } // namespace internal |
1477 } // namespace v8 | 1480 } // namespace v8 |
OLD | NEW |