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

Side by Side Diff: src/compiler/simplified-operator.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/simplified-lowering.h ('k') | src/compiler/simplified-operator.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_SIMPLIFIED_OPERATOR_H_ 5 #ifndef V8_COMPILER_SIMPLIFIED_OPERATOR_H_
6 #define V8_COMPILER_SIMPLIFIED_OPERATOR_H_ 6 #define V8_COMPILER_SIMPLIFIED_OPERATOR_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 9
10 #include "src/compiler/machine-type.h" 10 #include "src/compiler/machine-type.h"
(...skipping 16 matching lines...) Expand all
27 class Operator; 27 class Operator;
28 struct SimplifiedOperatorGlobalCache; 28 struct SimplifiedOperatorGlobalCache;
29 29
30 30
31 enum BaseTaggedness { kUntaggedBase, kTaggedBase }; 31 enum BaseTaggedness { kUntaggedBase, kTaggedBase };
32 32
33 std::ostream& operator<<(std::ostream&, BaseTaggedness); 33 std::ostream& operator<<(std::ostream&, BaseTaggedness);
34 34
35 35
36 // An access descriptor for loads/stores of array buffers. 36 // An access descriptor for loads/stores of array buffers.
37 class BufferAccess FINAL { 37 class BufferAccess final {
38 public: 38 public:
39 explicit BufferAccess(ExternalArrayType external_array_type) 39 explicit BufferAccess(ExternalArrayType external_array_type)
40 : external_array_type_(external_array_type) {} 40 : external_array_type_(external_array_type) {}
41 41
42 ExternalArrayType external_array_type() const { return external_array_type_; } 42 ExternalArrayType external_array_type() const { return external_array_type_; }
43 MachineType machine_type() const; 43 MachineType machine_type() const;
44 44
45 private: 45 private:
46 ExternalArrayType const external_array_type_; 46 ExternalArrayType const external_array_type_;
47 }; 47 };
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 117
118 // Additional representations for intermediate code or non-JS code: 118 // Additional representations for intermediate code or non-JS code:
119 // - Int64: an untagged signed 64-bit integer 119 // - Int64: an untagged signed 64-bit integer
120 // - Uint64: an untagged unsigned 64-bit integer 120 // - Uint64: an untagged unsigned 64-bit integer
121 // - Float32: an untagged float32 121 // - Float32: an untagged float32
122 122
123 // Boolean values can be: 123 // Boolean values can be:
124 // - Bool: a tagged pointer to either the canonical JS #false or 124 // - Bool: a tagged pointer to either the canonical JS #false or
125 // the canonical JS #true object 125 // the canonical JS #true object
126 // - Bit: an untagged integer 0 or 1, but word-sized 126 // - Bit: an untagged integer 0 or 1, but word-sized
127 class SimplifiedOperatorBuilder FINAL { 127 class SimplifiedOperatorBuilder final {
128 public: 128 public:
129 explicit SimplifiedOperatorBuilder(Zone* zone); 129 explicit SimplifiedOperatorBuilder(Zone* zone);
130 130
131 const Operator* BooleanNot(); 131 const Operator* BooleanNot();
132 const Operator* BooleanToNumber(); 132 const Operator* BooleanToNumber();
133 133
134 const Operator* NumberEqual(); 134 const Operator* NumberEqual();
135 const Operator* NumberLessThan(); 135 const Operator* NumberLessThan();
136 const Operator* NumberLessThanOrEqual(); 136 const Operator* NumberLessThanOrEqual();
137 const Operator* NumberAdd(); 137 const Operator* NumberAdd();
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 Zone* const zone_; 185 Zone* const zone_;
186 186
187 DISALLOW_COPY_AND_ASSIGN(SimplifiedOperatorBuilder); 187 DISALLOW_COPY_AND_ASSIGN(SimplifiedOperatorBuilder);
188 }; 188 };
189 189
190 } // namespace compiler 190 } // namespace compiler
191 } // namespace internal 191 } // namespace internal
192 } // namespace v8 192 } // namespace v8
193 193
194 #endif // V8_COMPILER_SIMPLIFIED_OPERATOR_H_ 194 #endif // V8_COMPILER_SIMPLIFIED_OPERATOR_H_
OLDNEW
« no previous file with comments | « src/compiler/simplified-lowering.h ('k') | src/compiler/simplified-operator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698