| 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 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 const Operator* StoreField(FieldAccess const&); | 169 const Operator* StoreField(FieldAccess const&); |
| 170 | 170 |
| 171 // load-buffer buffer, offset, length | 171 // load-buffer buffer, offset, length |
| 172 const Operator* LoadBuffer(BufferAccess); | 172 const Operator* LoadBuffer(BufferAccess); |
| 173 | 173 |
| 174 // store-buffer buffer, offset, length, value | 174 // store-buffer buffer, offset, length, value |
| 175 const Operator* StoreBuffer(BufferAccess); | 175 const Operator* StoreBuffer(BufferAccess); |
| 176 | 176 |
| 177 // load-element [base + index], length | 177 // load-element [base + index], length |
| 178 const Operator* LoadElement(ElementAccess const&); | 178 const Operator* LoadElement(ElementAccess const&); |
| 179 const Operator* LoadElementAtomic(ElementAccess const&); |
| 179 | 180 |
| 180 // store-element [base + index], length, value | 181 // store-element [base + index], length, value |
| 181 const Operator* StoreElement(ElementAccess const&); | 182 const Operator* StoreElement(ElementAccess const&); |
| 182 | 183 |
| 183 private: | 184 private: |
| 184 Zone* zone() const { return zone_; } | 185 Zone* zone() const { return zone_; } |
| 185 | 186 |
| 186 const SimplifiedOperatorGlobalCache& cache_; | 187 const SimplifiedOperatorGlobalCache& cache_; |
| 187 Zone* const zone_; | 188 Zone* const zone_; |
| 188 | 189 |
| 189 DISALLOW_COPY_AND_ASSIGN(SimplifiedOperatorBuilder); | 190 DISALLOW_COPY_AND_ASSIGN(SimplifiedOperatorBuilder); |
| 190 }; | 191 }; |
| 191 | 192 |
| 192 } // namespace compiler | 193 } // namespace compiler |
| 193 } // namespace internal | 194 } // namespace internal |
| 194 } // namespace v8 | 195 } // namespace v8 |
| 195 | 196 |
| 196 #endif // V8_COMPILER_SIMPLIFIED_OPERATOR_H_ | 197 #endif // V8_COMPILER_SIMPLIFIED_OPERATOR_H_ |
| OLD | NEW |