| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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_MACHINE_OPERATOR_H_ | 5 #ifndef V8_COMPILER_MACHINE_OPERATOR_H_ |
| 6 #define V8_COMPILER_MACHINE_OPERATOR_H_ | 6 #define V8_COMPILER_MACHINE_OPERATOR_H_ |
| 7 | 7 |
| 8 #include "src/base/flags.h" | 8 #include "src/base/flags.h" |
| 9 #include "src/compiler/machine-type.h" | 9 #include "src/compiler/machine-type.h" |
| 10 | 10 |
| (...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 218 const Operator* Float64InsertHighWord32(); | 218 const Operator* Float64InsertHighWord32(); |
| 219 | 219 |
| 220 // load [base + index] | 220 // load [base + index] |
| 221 const Operator* Load(LoadRepresentation rep); | 221 const Operator* Load(LoadRepresentation rep); |
| 222 | 222 |
| 223 // store [base + index], value | 223 // store [base + index], value |
| 224 const Operator* Store(StoreRepresentation rep); | 224 const Operator* Store(StoreRepresentation rep); |
| 225 | 225 |
| 226 // Access to the machine stack. | 226 // Access to the machine stack. |
| 227 const Operator* LoadStackPointer(); | 227 const Operator* LoadStackPointer(); |
| 228 const Operator* LoadFramePointer(); |
| 228 | 229 |
| 229 // checked-load heap, index, length | 230 // checked-load heap, index, length |
| 230 const Operator* CheckedLoad(CheckedLoadRepresentation); | 231 const Operator* CheckedLoad(CheckedLoadRepresentation); |
| 231 // checked-store heap, index, length, value | 232 // checked-store heap, index, length, value |
| 232 const Operator* CheckedStore(CheckedStoreRepresentation); | 233 const Operator* CheckedStore(CheckedStoreRepresentation); |
| 233 | 234 |
| 234 // Target machine word-size assumed by this builder. | 235 // Target machine word-size assumed by this builder. |
| 235 bool Is32() const { return word() == kRepWord32; } | 236 bool Is32() const { return word() == kRepWord32; } |
| 236 bool Is64() const { return word() == kRepWord64; } | 237 bool Is64() const { return word() == kRepWord64; } |
| 237 MachineType word() const { return word_; } | 238 MachineType word() const { return word_; } |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 275 }; | 276 }; |
| 276 | 277 |
| 277 | 278 |
| 278 DEFINE_OPERATORS_FOR_FLAGS(MachineOperatorBuilder::Flags) | 279 DEFINE_OPERATORS_FOR_FLAGS(MachineOperatorBuilder::Flags) |
| 279 | 280 |
| 280 } // namespace compiler | 281 } // namespace compiler |
| 281 } // namespace internal | 282 } // namespace internal |
| 282 } // namespace v8 | 283 } // namespace v8 |
| 283 | 284 |
| 284 #endif // V8_COMPILER_MACHINE_OPERATOR_H_ | 285 #endif // V8_COMPILER_MACHINE_OPERATOR_H_ |
| OLD | NEW |