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/code-stubs.h" | 8 #include "src/code-stubs.h" |
9 | 9 |
10 namespace v8 { | 10 namespace v8 { |
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
395 | 395 |
396 Major MajorKey() const { return NameDictionaryLookup; } | 396 Major MajorKey() const { return NameDictionaryLookup; } |
397 | 397 |
398 uint32_t MinorKey() const { return LookupModeBits::encode(mode_); } | 398 uint32_t 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 | |
406 class PlatformInterfaceDescriptor { | |
407 public: | |
408 explicit PlatformInterfaceDescriptor( | |
409 TargetAddressStorageMode storage_mode) | |
410 : storage_mode_(storage_mode) { } | |
411 | |
412 TargetAddressStorageMode storage_mode() { return storage_mode_; } | |
413 | |
414 private: | |
415 TargetAddressStorageMode storage_mode_; | |
416 }; | |
417 | |
418 | |
419 } } // namespace v8::internal | 405 } } // namespace v8::internal |
420 | 406 |
421 #endif // V8_ARM_CODE_STUBS_ARM_H_ | 407 #endif // V8_ARM_CODE_STUBS_ARM_H_ |
OLD | NEW |