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

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: Removed useless fallback 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
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 4976 matching lines...) Expand 10 before | Expand all | Expand 10 after
4987 Map::kElementsKindShift) - 1; 4987 Map::kElementsKindShift) - 1;
4988 static const int8_t kMaximumBitField2FastHoleySmiElementValue = 4988 static const int8_t kMaximumBitField2FastHoleySmiElementValue =
4989 static_cast<int8_t>((FAST_HOLEY_SMI_ELEMENTS + 1) << 4989 static_cast<int8_t>((FAST_HOLEY_SMI_ELEMENTS + 1) <<
4990 Map::kElementsKindShift) - 1; 4990 Map::kElementsKindShift) - 1;
4991 4991
4992 // Bit positions for bit field 3 4992 // Bit positions for bit field 3
4993 static const int kIsShared = 0; 4993 static const int kIsShared = 0;
4994 static const int kFunctionWithPrototype = 1; 4994 static const int kFunctionWithPrototype = 1;
4995 static const int kUsedForPrototype = 2; 4995 static const int kUsedForPrototype = 2;
4996 4996
4997 // Layout of the default cache. It holds alternating name and code objects.
4998 static const int kCodeCacheEntrySize = 2;
4999 static const int kCodeCacheEntryNameOffset = 0;
5000 static const int kCodeCacheEntryCodeOffset = 1;
5001
5002 typedef FixedBodyDescriptor<kPointerFieldsBeginOffset, 4997 typedef FixedBodyDescriptor<kPointerFieldsBeginOffset,
5003 kPointerFieldsEndOffset, 4998 kPointerFieldsEndOffset,
5004 kSize> BodyDescriptor; 4999 kSize> BodyDescriptor;
5005 5000
5006 private: 5001 private:
5007 String* elements_transition_sentinel_name(); 5002 String* elements_transition_sentinel_name();
5008 DISALLOW_IMPLICIT_CONSTRUCTORS(Map); 5003 DISALLOW_IMPLICIT_CONSTRUCTORS(Map);
5009 }; 5004 };
5010 5005
5011 5006
(...skipping 3686 matching lines...) Expand 10 before | Expand all | Expand 10 after
8698 } else { 8693 } else {
8699 value &= ~(1 << bit_position); 8694 value &= ~(1 << bit_position);
8700 } 8695 }
8701 return value; 8696 return value;
8702 } 8697 }
8703 }; 8698 };
8704 8699
8705 } } // namespace v8::internal 8700 } } // namespace v8::internal
8706 8701
8707 #endif // V8_OBJECTS_H_ 8702 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/mips/stub-cache-mips.cc ('k') | src/stub-cache.h » ('j') | src/stub-cache.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698