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

Side by Side Diff: test/cctest/compiler/test-run-stubs.cc

Issue 2305883002: Remove unnessary includes of parser.h (Closed)
Patch Set: More fixes in asm-js.h 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 | « src/v8.gyp ('k') | test/cctest/interpreter/test-source-positions.cc » ('j') | 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/bootstrapper.h" 5 #include "src/bootstrapper.h"
6 #include "src/code-stubs.h" 6 #include "src/code-stubs.h"
7 #include "src/compilation-info.h" 7 #include "src/compilation-info.h"
8 #include "src/compiler/common-operator.h" 8 #include "src/compiler/common-operator.h"
9 #include "src/compiler/graph.h" 9 #include "src/compiler/graph.h"
10 #include "src/compiler/js-graph.h" 10 #include "src/compiler/js-graph.h"
11 #include "src/compiler/js-operator.h" 11 #include "src/compiler/js-operator.h"
12 #include "src/compiler/linkage.h" 12 #include "src/compiler/linkage.h"
13 #include "src/compiler/machine-operator.h" 13 #include "src/compiler/machine-operator.h"
14 #include "src/compiler/pipeline.h" 14 #include "src/compiler/pipeline.h"
15 #include "src/parsing/parser.h"
16 #include "test/cctest/compiler/function-tester.h" 15 #include "test/cctest/compiler/function-tester.h"
17 16
18 namespace v8 { 17 namespace v8 {
19 namespace internal { 18 namespace internal {
20 namespace compiler { 19 namespace compiler {
21 20
22 21
23 TEST(RunStringLengthStub) { 22 TEST(RunStringLengthStub) {
24 HandleAndZoneScope scope; 23 HandleAndZoneScope scope;
25 Isolate* isolate = scope.main_isolate(); 24 Isolate* isolate = scope.main_isolate();
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 Handle<Object> vector = ft.Val(0.0); 65 Handle<Object> vector = ft.Val(0.0);
67 Handle<Object> result = 66 Handle<Object> result =
68 ft.Call(receiverArg, nameArg, slot, vector).ToHandleChecked(); 67 ft.Call(receiverArg, nameArg, slot, vector).ToHandleChecked();
69 CHECK_EQ(static_cast<int>(strlen(testString)), Smi::cast(*result)->value()); 68 CHECK_EQ(static_cast<int>(strlen(testString)), Smi::cast(*result)->value());
70 } 69 }
71 70
72 71
73 } // namespace compiler 72 } // namespace compiler
74 } // namespace internal 73 } // namespace internal
75 } // namespace v8 74 } // namespace v8
OLDNEW
« no previous file with comments | « src/v8.gyp ('k') | test/cctest/interpreter/test-source-positions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698