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

Side by Side Diff: test/cctest/compiler/test-instruction.cc

Issue 714613002: Fix bugs in simplified lowering relating to int32/uint32 signs. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 1 month 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 | Annotate | Revision Log
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" 5 #include "src/v8.h"
6 #include "test/cctest/cctest.h" 6 #include "test/cctest/cctest.h"
7 7
8 #include "src/compiler/code-generator.h" 8 #include "src/compiler/code-generator.h"
9 #include "src/compiler/common-operator.h" 9 #include "src/compiler/common-operator.h"
10 #include "src/compiler/graph.h" 10 #include "src/compiler/graph.h"
(...skipping 15 matching lines...) Expand all
26 // A testing helper for the register code abstraction. 26 // A testing helper for the register code abstraction.
27 class InstructionTester : public HandleAndZoneScope { 27 class InstructionTester : public HandleAndZoneScope {
28 public: // We're all friends here. 28 public: // We're all friends here.
29 InstructionTester() 29 InstructionTester()
30 : isolate(main_isolate()), 30 : isolate(main_isolate()),
31 graph(zone()), 31 graph(zone()),
32 schedule(zone()), 32 schedule(zone()),
33 info(static_cast<HydrogenCodeStub*>(NULL), main_isolate()), 33 info(static_cast<HydrogenCodeStub*>(NULL), main_isolate()),
34 linkage(zone(), &info), 34 linkage(zone(), &info),
35 common(zone()), 35 common(zone()),
36 machine(zone()),
36 code(NULL) {} 37 code(NULL) {}
37 38
38 ~InstructionTester() { delete code; } 39 ~InstructionTester() { delete code; }
39 40
40 Isolate* isolate; 41 Isolate* isolate;
41 Graph graph; 42 Graph graph;
42 Schedule schedule; 43 Schedule schedule;
43 CompilationInfoWithZone info; 44 CompilationInfoWithZone info;
44 Linkage linkage; 45 Linkage linkage;
45 CommonOperatorBuilder common; 46 CommonOperatorBuilder common;
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 CHECK_EQ(inputs[z], m->InputAt(z)); 359 CHECK_EQ(inputs[z], m->InputAt(z));
359 } 360 }
360 361
361 for (size_t z = 0; z < k; z++) { 362 for (size_t z = 0; z < k; z++) {
362 CHECK_EQ(temps[z], m->TempAt(z)); 363 CHECK_EQ(temps[z], m->TempAt(z));
363 } 364 }
364 } 365 }
365 } 366 }
366 } 367 }
367 } 368 }
OLDNEW
« no previous file with comments | « test/cctest/compiler/graph-builder-tester.h ('k') | test/cctest/compiler/test-js-constant-cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698