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

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

Issue 350293003: Cleanup CallInterfaceDescriptor (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Code comments. Created 6 years, 6 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 | « no previous file | 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/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
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_
OLDNEW
« no previous file with comments | « no previous file | src/arm/code-stubs-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698