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

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

Issue 1481613002: Create ast/ and parsing/ subdirectories and move appropriate files (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase Created 5 years 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
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 // TODO(jochen): Remove this after the setting is turned on globally. 5 // TODO(jochen): Remove this after the setting is turned on globally.
6 #define V8_IMMINENT_DEPRECATION_WARNINGS 6 #define V8_IMMINENT_DEPRECATION_WARNINGS
7 7
8 #include "src/bootstrapper.h" 8 #include "src/bootstrapper.h"
9 #include "src/code-stubs.h" 9 #include "src/code-stubs.h"
10 #include "src/compiler/common-operator.h" 10 #include "src/compiler/common-operator.h"
11 #include "src/compiler/graph.h" 11 #include "src/compiler/graph.h"
12 #include "src/compiler/js-graph.h" 12 #include "src/compiler/js-graph.h"
13 #include "src/compiler/js-operator.h" 13 #include "src/compiler/js-operator.h"
14 #include "src/compiler/linkage.h" 14 #include "src/compiler/linkage.h"
15 #include "src/compiler/machine-operator.h" 15 #include "src/compiler/machine-operator.h"
16 #include "src/compiler/pipeline.h" 16 #include "src/compiler/pipeline.h"
17 #include "src/parser.h" 17 #include "src/parsing/parser.h"
18 #include "test/cctest/compiler/function-tester.h" 18 #include "test/cctest/compiler/function-tester.h"
19 19
20 namespace v8 { 20 namespace v8 {
21 namespace internal { 21 namespace internal {
22 namespace compiler { 22 namespace compiler {
23 23
24 24
25 TEST(RunOptimizedMathFloorStub) { 25 TEST(RunOptimizedMathFloorStub) {
26 HandleAndZoneScope scope; 26 HandleAndZoneScope scope;
27 Isolate* isolate = scope.main_isolate(); 27 Isolate* isolate = scope.main_isolate();
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 // Actuall call through to the stub, verifying its result. 141 // Actuall call through to the stub, verifying its result.
142 Handle<String> leftArg = ft.Val("links"); 142 Handle<String> leftArg = ft.Val("links");
143 Handle<String> rightArg = ft.Val("rechts"); 143 Handle<String> rightArg = ft.Val("rechts");
144 Handle<Object> result = ft.Call(leftArg, rightArg).ToHandleChecked(); 144 Handle<Object> result = ft.Call(leftArg, rightArg).ToHandleChecked();
145 CHECK(String::Equals(ft.Val("linksrechts"), Handle<String>::cast(result))); 145 CHECK(String::Equals(ft.Val("linksrechts"), Handle<String>::cast(result)));
146 } 146 }
147 147
148 } // namespace compiler 148 } // namespace compiler
149 } // namespace internal 149 } // namespace internal
150 } // namespace v8 150 } // namespace v8
OLDNEW
« no previous file with comments | « test/cctest/compiler/test-run-bytecode-graph-builder.cc ('k') | test/cctest/compiler/test-simplified-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698