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

Side by Side Diff: src/objects.h

Issue 10515008: Added LoadIC stub for getters. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Incorporated review comments. Created 8 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 | « src/mips/stub-cache-mips.cc ('k') | src/stub-cache.h » ('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 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 4992 matching lines...) Expand 10 before | Expand all | Expand 10 after
5003 Map::kElementsKindShift) - 1; 5003 Map::kElementsKindShift) - 1;
5004 static const int8_t kMaximumBitField2FastHoleySmiElementValue = 5004 static const int8_t kMaximumBitField2FastHoleySmiElementValue =
5005 static_cast<int8_t>((FAST_HOLEY_SMI_ELEMENTS + 1) << 5005 static_cast<int8_t>((FAST_HOLEY_SMI_ELEMENTS + 1) <<
5006 Map::kElementsKindShift) - 1; 5006 Map::kElementsKindShift) - 1;
5007 5007
5008 // Bit positions for bit field 3 5008 // Bit positions for bit field 3
5009 static const int kIsShared = 0; 5009 static const int kIsShared = 0;
5010 static const int kFunctionWithPrototype = 1; 5010 static const int kFunctionWithPrototype = 1;
5011 static const int kUsedForPrototype = 2; 5011 static const int kUsedForPrototype = 2;
5012 5012
5013 // Layout of the default cache. It holds alternating name and code objects.
5014 static const int kCodeCacheEntrySize = 2;
5015 static const int kCodeCacheEntryNameOffset = 0;
5016 static const int kCodeCacheEntryCodeOffset = 1;
5017
5018 typedef FixedBodyDescriptor<kPointerFieldsBeginOffset, 5013 typedef FixedBodyDescriptor<kPointerFieldsBeginOffset,
5019 kPointerFieldsEndOffset, 5014 kPointerFieldsEndOffset,
5020 kSize> BodyDescriptor; 5015 kSize> BodyDescriptor;
5021 5016
5022 private: 5017 private:
5023 String* elements_transition_sentinel_name(); 5018 String* elements_transition_sentinel_name();
5024 DISALLOW_IMPLICIT_CONSTRUCTORS(Map); 5019 DISALLOW_IMPLICIT_CONSTRUCTORS(Map);
5025 }; 5020 };
5026 5021
5027 5022
(...skipping 3691 matching lines...) Expand 10 before | Expand all | Expand 10 after
8719 } else { 8714 } else {
8720 value &= ~(1 << bit_position); 8715 value &= ~(1 << bit_position);
8721 } 8716 }
8722 return value; 8717 return value;
8723 } 8718 }
8724 }; 8719 };
8725 8720
8726 } } // namespace v8::internal 8721 } } // namespace v8::internal
8727 8722
8728 #endif // V8_OBJECTS_H_ 8723 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/mips/stub-cache-mips.cc ('k') | src/stub-cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698