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 385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
396 Major MajorKey() const { return NameDictionaryLookup; } | 396 Major MajorKey() const { return NameDictionaryLookup; } |
397 | 397 |
398 int MinorKey() const { return LookupModeBits::encode(mode_); } | 398 int MinorKey() const { return LookupModeBits::encode(mode_); } |
399 | 399 |
400 class LookupModeBits: public BitField<LookupMode, 0, 1> {}; | 400 class LookupModeBits: public BitField<LookupMode, 0, 1> {}; |
401 | 401 |
402 LookupMode mode_; | 402 LookupMode mode_; |
403 }; | 403 }; |
404 | 404 |
405 | 405 |
406 class PlatformCallInterfaceDescriptor { | 406 class PlatformInterfaceDescriptor { |
407 public: | 407 public: |
408 explicit PlatformCallInterfaceDescriptor( | 408 explicit PlatformInterfaceDescriptor( |
409 TargetAddressStorageMode storage_mode) | 409 TargetAddressStorageMode storage_mode) |
410 : storage_mode_(storage_mode) { } | 410 : storage_mode_(storage_mode) { } |
411 | 411 |
412 TargetAddressStorageMode storage_mode() { return storage_mode_; } | 412 TargetAddressStorageMode storage_mode() { return storage_mode_; } |
413 | 413 |
414 private: | 414 private: |
415 TargetAddressStorageMode storage_mode_; | 415 TargetAddressStorageMode storage_mode_; |
416 }; | 416 }; |
417 | 417 |
418 | 418 |
419 } } // namespace v8::internal | 419 } } // namespace v8::internal |
420 | 420 |
421 #endif // V8_ARM_CODE_STUBS_ARM_H_ | 421 #endif // V8_ARM_CODE_STUBS_ARM_H_ |
OLD | NEW |