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

Side by Side Diff: src/handles.h

Issue 50016: Allow hidden properties and implement GetIdentityHash (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 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/factory.h ('k') | src/handles.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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 Handle<Object> GetProperty(Handle<Object> obj, 216 Handle<Object> GetProperty(Handle<Object> obj,
217 Handle<Object> key); 217 Handle<Object> key);
218 218
219 Handle<Object> GetPropertyWithInterceptor(Handle<JSObject> receiver, 219 Handle<Object> GetPropertyWithInterceptor(Handle<JSObject> receiver,
220 Handle<JSObject> holder, 220 Handle<JSObject> holder,
221 Handle<String> name, 221 Handle<String> name,
222 PropertyAttributes* attributes); 222 PropertyAttributes* attributes);
223 223
224 Handle<Object> GetPrototype(Handle<Object> obj); 224 Handle<Object> GetPrototype(Handle<Object> obj);
225 225
226 Handle<Object> GetHiddenProperties(Handle<JSObject> obj, bool create_if_needed);
227
226 Handle<Object> DeleteElement(Handle<JSObject> obj, uint32_t index); 228 Handle<Object> DeleteElement(Handle<JSObject> obj, uint32_t index);
227 Handle<Object> DeleteProperty(Handle<JSObject> obj, Handle<String> prop); 229 Handle<Object> DeleteProperty(Handle<JSObject> obj, Handle<String> prop);
228 230
229 Handle<Object> LookupSingleCharacterStringFromCode(uint32_t index); 231 Handle<Object> LookupSingleCharacterStringFromCode(uint32_t index);
230 232
231 Handle<JSObject> Copy(Handle<JSObject> obj); 233 Handle<JSObject> Copy(Handle<JSObject> obj);
232 234
233 Handle<FixedArray> AddKeysFromJSArray(Handle<FixedArray>, 235 Handle<FixedArray> AddKeysFromJSArray(Handle<FixedArray>,
234 Handle<JSArray> array); 236 Handle<JSArray> array);
235 237
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 private: 329 private:
328 bool has_been_transformed_; // Tells whether the object has been transformed. 330 bool has_been_transformed_; // Tells whether the object has been transformed.
329 int unused_property_fields_; // Captures the unused number of field. 331 int unused_property_fields_; // Captures the unused number of field.
330 Handle<JSObject> object_; // The object being optimized. 332 Handle<JSObject> object_; // The object being optimized.
331 }; 333 };
332 334
333 335
334 } } // namespace v8::internal 336 } } // namespace v8::internal
335 337
336 #endif // V8_HANDLES_H_ 338 #endif // V8_HANDLES_H_
OLDNEW
« no previous file with comments | « src/factory.h ('k') | src/handles.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698