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

Side by Side Diff: src/handles.h

Issue 115267: Fix for issue 339:... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 7 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 | « no previous file | 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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 Handle<Object> GetProperty(Handle<Object> obj, 221 Handle<Object> GetProperty(Handle<Object> obj,
222 Handle<Object> key); 222 Handle<Object> key);
223 223
224 Handle<Object> GetPropertyWithInterceptor(Handle<JSObject> receiver, 224 Handle<Object> GetPropertyWithInterceptor(Handle<JSObject> receiver,
225 Handle<JSObject> holder, 225 Handle<JSObject> holder,
226 Handle<String> name, 226 Handle<String> name,
227 PropertyAttributes* attributes); 227 PropertyAttributes* attributes);
228 228
229 Handle<Object> GetPrototype(Handle<Object> obj); 229 Handle<Object> GetPrototype(Handle<Object> obj);
230 230
231 // Return the object's hidden properties object. If the object has no hidden
232 // properties and create_if_needed is true, then a new hidden property object
233 // will be allocated. Otherwise the Heap::undefined_value is returned.
231 Handle<Object> GetHiddenProperties(Handle<JSObject> obj, bool create_if_needed); 234 Handle<Object> GetHiddenProperties(Handle<JSObject> obj, bool create_if_needed);
232 235
233 Handle<Object> DeleteElement(Handle<JSObject> obj, uint32_t index); 236 Handle<Object> DeleteElement(Handle<JSObject> obj, uint32_t index);
234 Handle<Object> DeleteProperty(Handle<JSObject> obj, Handle<String> prop); 237 Handle<Object> DeleteProperty(Handle<JSObject> obj, Handle<String> prop);
235 238
236 Handle<Object> LookupSingleCharacterStringFromCode(uint32_t index); 239 Handle<Object> LookupSingleCharacterStringFromCode(uint32_t index);
237 240
238 Handle<JSObject> Copy(Handle<JSObject> obj); 241 Handle<JSObject> Copy(Handle<JSObject> obj);
239 242
240 Handle<FixedArray> AddKeysFromJSArray(Handle<FixedArray>, 243 Handle<FixedArray> AddKeysFromJSArray(Handle<FixedArray>,
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 private: 337 private:
335 bool has_been_transformed_; // Tells whether the object has been transformed. 338 bool has_been_transformed_; // Tells whether the object has been transformed.
336 int unused_property_fields_; // Captures the unused number of field. 339 int unused_property_fields_; // Captures the unused number of field.
337 Handle<JSObject> object_; // The object being optimized. 340 Handle<JSObject> object_; // The object being optimized.
338 }; 341 };
339 342
340 343
341 } } // namespace v8::internal 344 } } // namespace v8::internal
342 345
343 #endif // V8_HANDLES_H_ 346 #endif // V8_HANDLES_H_
OLDNEW
« no previous file with comments | « no previous file | src/handles.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698