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

Side by Side Diff: test/unittests/compiler/graph-unittest.h

Issue 816453005: [turbofan] Cleanup use of virtual, OVERRIDE, FINAL. (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
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_UNITTESTS_COMPILER_GRAPH_UNITTEST_H_ 5 #ifndef V8_UNITTESTS_COMPILER_GRAPH_UNITTEST_H_
6 #define V8_UNITTESTS_COMPILER_GRAPH_UNITTEST_H_ 6 #define V8_UNITTESTS_COMPILER_GRAPH_UNITTEST_H_
7 7
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/machine-operator.h" 10 #include "src/compiler/machine-operator.h"
(...skipping 12 matching lines...) Expand all
23 class Unique; 23 class Unique;
24 24
25 namespace compiler { 25 namespace compiler {
26 26
27 using ::testing::Matcher; 27 using ::testing::Matcher;
28 28
29 29
30 class GraphTest : public TestWithContext, public TestWithZone { 30 class GraphTest : public TestWithContext, public TestWithZone {
31 public: 31 public:
32 explicit GraphTest(int parameters = 1); 32 explicit GraphTest(int parameters = 1);
33 virtual ~GraphTest(); 33 ~GraphTest() OVERRIDE;
34 34
35 protected: 35 protected:
36 Node* Parameter(int32_t index); 36 Node* Parameter(int32_t index);
37 Node* Float32Constant(volatile float value); 37 Node* Float32Constant(volatile float value);
38 Node* Float64Constant(volatile double value); 38 Node* Float64Constant(volatile double value);
39 Node* Int32Constant(int32_t value); 39 Node* Int32Constant(int32_t value);
40 Node* Uint32Constant(uint32_t value) { 40 Node* Uint32Constant(uint32_t value) {
41 return Int32Constant(bit_cast<int32_t>(value)); 41 return Int32Constant(bit_cast<int32_t>(value));
42 } 42 }
43 Node* Int64Constant(int64_t value); 43 Node* Int64Constant(int64_t value);
(...skipping 26 matching lines...) Expand all
70 70
71 private: 71 private:
72 Typer typer_; 72 Typer typer_;
73 }; 73 };
74 74
75 } // namespace compiler 75 } // namespace compiler
76 } // namespace internal 76 } // namespace internal
77 } // namespace v8 77 } // namespace v8
78 78
79 #endif // V8_UNITTESTS_COMPILER_GRAPH_UNITTEST_H_ 79 #endif // V8_UNITTESTS_COMPILER_GRAPH_UNITTEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698