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

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: Fixed presubmit failure. 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 4956 matching lines...) Expand 10 before | Expand all | Expand 10 after
4967 static_cast<int8_t>((FAST_HOLEY_ELEMENTS + 1) << 4967 static_cast<int8_t>((FAST_HOLEY_ELEMENTS + 1) <<
4968 Map::kElementsKindShift) - 1; 4968 Map::kElementsKindShift) - 1;
4969 static const int8_t kMaximumBitField2FastHoleySmiElementValue = 4969 static const int8_t kMaximumBitField2FastHoleySmiElementValue =
4970 static_cast<int8_t>((FAST_HOLEY_SMI_ELEMENTS + 1) << 4970 static_cast<int8_t>((FAST_HOLEY_SMI_ELEMENTS + 1) <<
4971 Map::kElementsKindShift) - 1; 4971 Map::kElementsKindShift) - 1;
4972 4972
4973 // Bit positions for bit field 3 4973 // Bit positions for bit field 3
4974 static const int kIsShared = 0; 4974 static const int kIsShared = 0;
4975 static const int kFunctionWithPrototype = 1; 4975 static const int kFunctionWithPrototype = 1;
4976 4976
4977 // Layout of the default cache. It holds alternating name and code objects.
4978 static const int kCodeCacheEntrySize = 2;
4979 static const int kCodeCacheEntryNameOffset = 0;
4980 static const int kCodeCacheEntryCodeOffset = 1;
4981
4982 typedef FixedBodyDescriptor<kPointerFieldsBeginOffset, 4977 typedef FixedBodyDescriptor<kPointerFieldsBeginOffset,
4983 kPointerFieldsEndOffset, 4978 kPointerFieldsEndOffset,
4984 kSize> BodyDescriptor; 4979 kSize> BodyDescriptor;
4985 4980
4986 private: 4981 private:
4987 String* elements_transition_sentinel_name(); 4982 String* elements_transition_sentinel_name();
4988 DISALLOW_IMPLICIT_CONSTRUCTORS(Map); 4983 DISALLOW_IMPLICIT_CONSTRUCTORS(Map);
4989 }; 4984 };
4990 4985
4991 4986
(...skipping 3686 matching lines...) Expand 10 before | Expand all | Expand 10 after
8678 } else { 8673 } else {
8679 value &= ~(1 << bit_position); 8674 value &= ~(1 << bit_position);
8680 } 8675 }
8681 return value; 8676 return value;
8682 } 8677 }
8683 }; 8678 };
8684 8679
8685 } } // namespace v8::internal 8680 } } // namespace v8::internal
8686 8681
8687 #endif // V8_OBJECTS_H_ 8682 #endif // V8_OBJECTS_H_
OLDNEW
« src/ia32/stub-cache-ia32.cc ('K') | « 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