Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1368)

Side by Side Diff: src/arm/code-stubs-arm.h

Issue 517993002: Refactoring InterfaceDescriptors away from code-stubs.h (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Ports. Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « BUILD.gn ('k') | src/arm/code-stubs-arm.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | src/arm/code-stubs-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698