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

Side by Side Diff: src/objects.h

Issue 179163003: Merged r19440 into 3.24 branch. (Closed) Base URL: https://v8.googlecode.com/svn/branches/3.24
Patch Set: Created 6 years, 9 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/ic.cc ('k') | src/objects-inl.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 6097 matching lines...) Expand 10 before | Expand all | Expand 10 after
6108 // with the given holder if the name is found. The holder may be 6108 // with the given holder if the name is found. The holder may be
6109 // NULL when this function is used from the compiler. 6109 // NULL when this function is used from the compiler.
6110 inline void LookupDescriptor(JSObject* holder, 6110 inline void LookupDescriptor(JSObject* holder,
6111 Name* name, 6111 Name* name,
6112 LookupResult* result); 6112 LookupResult* result);
6113 6113
6114 inline void LookupTransition(JSObject* holder, 6114 inline void LookupTransition(JSObject* holder,
6115 Name* name, 6115 Name* name,
6116 LookupResult* result); 6116 LookupResult* result);
6117 6117
6118 inline PropertyDetails GetLastDescriptorDetails();
6119
6118 // The size of transition arrays are limited so they do not end up in large 6120 // The size of transition arrays are limited so they do not end up in large
6119 // object space. Otherwise ClearNonLiveTransitions would leak memory while 6121 // object space. Otherwise ClearNonLiveTransitions would leak memory while
6120 // applying in-place right trimming. 6122 // applying in-place right trimming.
6121 inline bool CanHaveMoreTransitions(); 6123 inline bool CanHaveMoreTransitions();
6122 6124
6123 int LastAdded() { 6125 int LastAdded() {
6124 int number_of_own_descriptors = NumberOfOwnDescriptors(); 6126 int number_of_own_descriptors = NumberOfOwnDescriptors();
6125 ASSERT(number_of_own_descriptors > 0); 6127 ASSERT(number_of_own_descriptors > 0);
6126 return number_of_own_descriptors - 1; 6128 return number_of_own_descriptors - 1;
6127 } 6129 }
(...skipping 4633 matching lines...) Expand 10 before | Expand all | Expand 10 after
10761 } else { 10763 } else {
10762 value &= ~(1 << bit_position); 10764 value &= ~(1 << bit_position);
10763 } 10765 }
10764 return value; 10766 return value;
10765 } 10767 }
10766 }; 10768 };
10767 10769
10768 } } // namespace v8::internal 10770 } } // namespace v8::internal
10769 10771
10770 #endif // V8_OBJECTS_H_ 10772 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/ic.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698