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

Side by Side Diff: test/cctest/compiler/test-js-typed-lowering.cc

Issue 797903003: [turbofan] Various cleanups. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 6 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
« no previous file with comments | « src/types.h ('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 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/v8.h"
6 #include "test/cctest/cctest.h"
7
8 #include "src/compiler/graph-inl.h" 5 #include "src/compiler/graph-inl.h"
6 #include "src/compiler/js-graph.h"
9 #include "src/compiler/js-typed-lowering.h" 7 #include "src/compiler/js-typed-lowering.h"
8 #include "src/compiler/machine-operator.h"
10 #include "src/compiler/node-properties-inl.h" 9 #include "src/compiler/node-properties-inl.h"
11 #include "src/compiler/opcodes.h" 10 #include "src/compiler/opcodes.h"
12 #include "src/compiler/typer.h" 11 #include "src/compiler/typer.h"
12 #include "test/cctest/cctest.h"
13 13
14 using namespace v8::internal; 14 using namespace v8::internal;
15 using namespace v8::internal::compiler; 15 using namespace v8::internal::compiler;
16 16
17 class JSTypedLoweringTester : public HandleAndZoneScope { 17 class JSTypedLoweringTester : public HandleAndZoneScope {
18 public: 18 public:
19 explicit JSTypedLoweringTester(int num_parameters = 0) 19 explicit JSTypedLoweringTester(int num_parameters = 0)
20 : isolate(main_isolate()), 20 : isolate(main_isolate()),
21 binop(NULL), 21 binop(NULL),
22 unop(NULL), 22 unop(NULL),
(...skipping 1275 matching lines...) Expand 10 before | Expand all | Expand 10 after
1298 CHECK_EQ(p1, r->InputAt(0)); 1298 CHECK_EQ(p1, r->InputAt(0));
1299 CHECK_EQ(p0, r->InputAt(1)); 1299 CHECK_EQ(p0, r->InputAt(1));
1300 } else { 1300 } else {
1301 CHECK_EQ(p0, r->InputAt(0)); 1301 CHECK_EQ(p0, r->InputAt(0));
1302 CHECK_EQ(p1, r->InputAt(1)); 1302 CHECK_EQ(p1, r->InputAt(1));
1303 } 1303 }
1304 } 1304 }
1305 } 1305 }
1306 } 1306 }
1307 } 1307 }
OLDNEW
« no previous file with comments | « src/types.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698