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

Side by Side Diff: test/cctest/compiler/graph-builder-tester.h

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
« no previous file with comments | « src/compiler/typer.cc ('k') | test/cctest/compiler/test-instruction.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 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 #ifndef V8_CCTEST_COMPILER_GRAPH_BUILDER_TESTER_H_ 5 #ifndef V8_CCTEST_COMPILER_GRAPH_BUILDER_TESTER_H_
6 #define V8_CCTEST_COMPILER_GRAPH_BUILDER_TESTER_H_ 6 #define V8_CCTEST_COMPILER_GRAPH_BUILDER_TESTER_H_
7 7
8 #include "src/v8.h" 8 #include "src/v8.h"
9 #include "test/cctest/cctest.h" 9 #include "test/cctest/cctest.h"
10 10
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 Graph* graph_; 54 Graph* graph_;
55 MaybeHandle<Code> code_; 55 MaybeHandle<Code> code_;
56 }; 56 };
57 57
58 58
59 class GraphAndBuilders { 59 class GraphAndBuilders {
60 public: 60 public:
61 explicit GraphAndBuilders(Zone* zone) 61 explicit GraphAndBuilders(Zone* zone)
62 : main_graph_(new (zone) Graph(zone)), 62 : main_graph_(new (zone) Graph(zone)),
63 main_common_(zone), 63 main_common_(zone),
64 main_machine_(zone),
64 main_simplified_(zone) {} 65 main_simplified_(zone) {}
65 66
66 protected: 67 protected:
67 // Prefixed with main_ to avoid naiming conflicts. 68 // Prefixed with main_ to avoid naiming conflicts.
68 Graph* main_graph_; 69 Graph* main_graph_;
69 CommonOperatorBuilder main_common_; 70 CommonOperatorBuilder main_common_;
70 MachineOperatorBuilder main_machine_; 71 MachineOperatorBuilder main_machine_;
71 SimplifiedOperatorBuilder main_simplified_; 72 SimplifiedOperatorBuilder main_simplified_;
72 }; 73 };
73 74
(...skipping 24 matching lines...) Expand all
98 } 99 }
99 virtual ~GraphBuilderTester() {} 100 virtual ~GraphBuilderTester() {}
100 101
101 Factory* factory() const { return isolate()->factory(); } 102 Factory* factory() const { return isolate()->factory(); }
102 }; 103 };
103 } // namespace compiler 104 } // namespace compiler
104 } // namespace internal 105 } // namespace internal
105 } // namespace v8 106 } // namespace v8
106 107
107 #endif // V8_CCTEST_COMPILER_GRAPH_BUILDER_TESTER_H_ 108 #endif // V8_CCTEST_COMPILER_GRAPH_BUILDER_TESTER_H_
OLDNEW
« no previous file with comments | « src/compiler/typer.cc ('k') | test/cctest/compiler/test-instruction.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698