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

Side by Side Diff: src/compiler/js-typed-lowering.h

Issue 1088993003: Replace OVERRIDE->override and FINAL->final since we now require C++11. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 8 months 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/compiler/js-type-feedback.h ('k') | src/compiler/js-typed-lowering.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_COMPILER_JS_TYPED_LOWERING_H_ 5 #ifndef V8_COMPILER_JS_TYPED_LOWERING_H_
6 #define V8_COMPILER_JS_TYPED_LOWERING_H_ 6 #define V8_COMPILER_JS_TYPED_LOWERING_H_
7 7
8 #include "src/compiler/graph-reducer.h" 8 #include "src/compiler/graph-reducer.h"
9 #include "src/compiler/opcodes.h" 9 #include "src/compiler/opcodes.h"
10 #include "src/compiler/simplified-operator.h" 10 #include "src/compiler/simplified-operator.h"
11 11
12 namespace v8 { 12 namespace v8 {
13 namespace internal { 13 namespace internal {
14 14
15 // Forward declarations. 15 // Forward declarations.
16 class Factory; 16 class Factory;
17 17
18 18
19 namespace compiler { 19 namespace compiler {
20 20
21 // Forward declarations. 21 // Forward declarations.
22 class CommonOperatorBuilder; 22 class CommonOperatorBuilder;
23 class JSGraph; 23 class JSGraph;
24 class JSOperatorBuilder; 24 class JSOperatorBuilder;
25 class MachineOperatorBuilder; 25 class MachineOperatorBuilder;
26 26
27 27
28 // Lowers JS-level operators to simplified operators based on types. 28 // Lowers JS-level operators to simplified operators based on types.
29 class JSTypedLowering FINAL : public Reducer { 29 class JSTypedLowering final : public Reducer {
30 public: 30 public:
31 JSTypedLowering(JSGraph* jsgraph, Zone* zone); 31 JSTypedLowering(JSGraph* jsgraph, Zone* zone);
32 ~JSTypedLowering() FINAL {} 32 ~JSTypedLowering() final {}
33 33
34 Reduction Reduce(Node* node) FINAL; 34 Reduction Reduce(Node* node) final;
35 35
36 private: 36 private:
37 friend class JSBinopReduction; 37 friend class JSBinopReduction;
38 38
39 Reduction ReplaceEagerly(Node* old, Node* node); 39 Reduction ReplaceEagerly(Node* old, Node* node);
40 Reduction ReduceJSAdd(Node* node); 40 Reduction ReduceJSAdd(Node* node);
41 Reduction ReduceJSBitwiseOr(Node* node); 41 Reduction ReduceJSBitwiseOr(Node* node);
42 Reduction ReduceJSMultiply(Node* node); 42 Reduction ReduceJSMultiply(Node* node);
43 Reduction ReduceJSComparison(Node* node); 43 Reduction ReduceJSComparison(Node* node);
44 Reduction ReduceJSLoadNamed(Node* node); 44 Reduction ReduceJSLoadNamed(Node* node);
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 Type* one_range_; 81 Type* one_range_;
82 Type* zero_thirtyone_range_; 82 Type* zero_thirtyone_range_;
83 Type* shifted_int32_ranges_[4]; 83 Type* shifted_int32_ranges_[4];
84 }; 84 };
85 85
86 } // namespace compiler 86 } // namespace compiler
87 } // namespace internal 87 } // namespace internal
88 } // namespace v8 88 } // namespace v8
89 89
90 #endif // V8_COMPILER_JS_TYPED_LOWERING_H_ 90 #endif // V8_COMPILER_JS_TYPED_LOWERING_H_
OLDNEW
« no previous file with comments | « src/compiler/js-type-feedback.h ('k') | src/compiler/js-typed-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698