Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(189)

Side by Side Diff: test/cctest/test-code-stub-assembler.cc

Issue 2278103002: Include only stuff you need, part 5: make function-tester.h slimmer. (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « test/cctest/compiler/test-run-stubs.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « test/cctest/compiler/test-run-stubs.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698