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

Side by Side Diff: src/handles.h

Issue 660095: Merge revision 3813 to 3930 from bleeding_edge to partial snapshots branch. (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/partial_snapshots/
Patch Set: '' Created 10 years, 10 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/full-codegen.cc ('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 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 Handle<Object> GetProperty(Handle<Object> obj, 238 Handle<Object> GetProperty(Handle<Object> obj,
239 Handle<Object> key); 239 Handle<Object> key);
240 240
241 Handle<Object> GetPropertyWithInterceptor(Handle<JSObject> receiver, 241 Handle<Object> GetPropertyWithInterceptor(Handle<JSObject> receiver,
242 Handle<JSObject> holder, 242 Handle<JSObject> holder,
243 Handle<String> name, 243 Handle<String> name,
244 PropertyAttributes* attributes); 244 PropertyAttributes* attributes);
245 245
246 Handle<Object> GetPrototype(Handle<Object> obj); 246 Handle<Object> GetPrototype(Handle<Object> obj);
247 247
248 Handle<Object> SetPrototype(Handle<JSObject> obj, Handle<Object> value);
249
248 // Return the object's hidden properties object. If the object has no hidden 250 // Return the object's hidden properties object. If the object has no hidden
249 // properties and create_if_needed is true, then a new hidden property object 251 // properties and create_if_needed is true, then a new hidden property object
250 // will be allocated. Otherwise the Heap::undefined_value is returned. 252 // will be allocated. Otherwise the Heap::undefined_value is returned.
251 Handle<Object> GetHiddenProperties(Handle<JSObject> obj, bool create_if_needed); 253 Handle<Object> GetHiddenProperties(Handle<JSObject> obj, bool create_if_needed);
252 254
253 Handle<Object> DeleteElement(Handle<JSObject> obj, uint32_t index); 255 Handle<Object> DeleteElement(Handle<JSObject> obj, uint32_t index);
254 Handle<Object> DeleteProperty(Handle<JSObject> obj, Handle<String> prop); 256 Handle<Object> DeleteProperty(Handle<JSObject> obj, Handle<String> prop);
255 257
256 Handle<Object> LookupSingleCharacterStringFromCode(uint32_t index); 258 Handle<Object> LookupSingleCharacterStringFromCode(uint32_t index);
257 259
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 private: 365 private:
364 bool has_been_transformed_; // Tells whether the object has been transformed. 366 bool has_been_transformed_; // Tells whether the object has been transformed.
365 int unused_property_fields_; // Captures the unused number of field. 367 int unused_property_fields_; // Captures the unused number of field.
366 Handle<JSObject> object_; // The object being optimized. 368 Handle<JSObject> object_; // The object being optimized.
367 }; 369 };
368 370
369 371
370 } } // namespace v8::internal 372 } } // namespace v8::internal
371 373
372 #endif // V8_HANDLES_H_ 374 #endif // V8_HANDLES_H_
OLDNEW
« no previous file with comments | « src/full-codegen.cc ('k') | src/handles.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698