| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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_ARM_CODE_STUBS_ARM_H_ | 5 #ifndef V8_ARM_CODE_STUBS_ARM_H_ |
| 6 #define V8_ARM_CODE_STUBS_ARM_H_ | 6 #define V8_ARM_CODE_STUBS_ARM_H_ |
| 7 | 7 |
| 8 #include "src/ic-inl.h" | 8 #include "src/ic-inl.h" |
| 9 | 9 |
| 10 namespace v8 { | 10 namespace v8 { |
| (...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 397 int MinorKey() { | 397 int MinorKey() { |
| 398 return LookupModeBits::encode(mode_); | 398 return LookupModeBits::encode(mode_); |
| 399 } | 399 } |
| 400 | 400 |
| 401 class LookupModeBits: public BitField<LookupMode, 0, 1> {}; | 401 class LookupModeBits: public BitField<LookupMode, 0, 1> {}; |
| 402 | 402 |
| 403 LookupMode mode_; | 403 LookupMode mode_; |
| 404 }; | 404 }; |
| 405 | 405 |
| 406 | 406 |
| 407 struct PlatformCallInterfaceDescriptor { | 407 class PlatformCallInterfaceDescriptor { |
| 408 public: |
| 408 explicit PlatformCallInterfaceDescriptor( | 409 explicit PlatformCallInterfaceDescriptor( |
| 409 TargetAddressStorageMode storage_mode) | 410 TargetAddressStorageMode storage_mode) |
| 410 : storage_mode_(storage_mode) { } | 411 : storage_mode_(storage_mode) { } |
| 411 | 412 |
| 412 TargetAddressStorageMode storage_mode() { return storage_mode_; } | 413 TargetAddressStorageMode storage_mode() { return storage_mode_; } |
| 413 | 414 |
| 414 private: | 415 private: |
| 415 TargetAddressStorageMode storage_mode_; | 416 TargetAddressStorageMode storage_mode_; |
| 416 }; | 417 }; |
| 417 | 418 |
| 418 | 419 |
| 419 } } // namespace v8::internal | 420 } } // namespace v8::internal |
| 420 | 421 |
| 421 #endif // V8_ARM_CODE_STUBS_ARM_H_ | 422 #endif // V8_ARM_CODE_STUBS_ARM_H_ |
| OLD | NEW |