Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 148 | 148 |
| 149 const Operator* LoadField(const FieldAccess&); | 149 const Operator* LoadField(const FieldAccess&); |
| 150 const Operator* StoreField(const FieldAccess&); | 150 const Operator* StoreField(const FieldAccess&); |
| 151 | 151 |
| 152 // load-element [base + index], length | 152 // load-element [base + index], length |
| 153 const Operator* LoadElement(ElementAccess const&); | 153 const Operator* LoadElement(ElementAccess const&); |
| 154 | 154 |
| 155 // store-element [base + index], length, value | 155 // store-element [base + index], length, value |
| 156 const Operator* StoreElement(ElementAccess const&); | 156 const Operator* StoreElement(ElementAccess const&); |
| 157 | 157 |
| 158 const Operator* IsSmi(); | |
|
Michael Starzinger
2014/10/17 09:58:51
nit: Benedikt suggested to call these operators "O
sigurds
2014/10/21 14:42:25
Done.
| |
| 159 const Operator* IsNonNegativeSmi(); | |
| 160 | |
| 158 private: | 161 private: |
| 159 Zone* zone() const { return zone_; } | 162 Zone* zone() const { return zone_; } |
| 160 | 163 |
| 161 const SimplifiedOperatorBuilderImpl& impl_; | 164 const SimplifiedOperatorBuilderImpl& impl_; |
| 162 Zone* const zone_; | 165 Zone* const zone_; |
| 163 | 166 |
| 164 DISALLOW_COPY_AND_ASSIGN(SimplifiedOperatorBuilder); | 167 DISALLOW_COPY_AND_ASSIGN(SimplifiedOperatorBuilder); |
| 165 }; | 168 }; |
| 166 | 169 |
| 167 } // namespace compiler | 170 } // namespace compiler |
| 168 } // namespace internal | 171 } // namespace internal |
| 169 } // namespace v8 | 172 } // namespace v8 |
| 170 | 173 |
| 171 #endif // V8_COMPILER_SIMPLIFIED_OPERATOR_H_ | 174 #endif // V8_COMPILER_SIMPLIFIED_OPERATOR_H_ |
| OLD | NEW |