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

Side by Side Diff: src/handles.h

Issue 118374: Introduce an API to force the deletion of a property ignoring... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 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
« no previous file with comments | « src/api.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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 Handle<Object> SetProperty(Handle<Object> object, 195 Handle<Object> SetProperty(Handle<Object> object,
196 Handle<Object> key, 196 Handle<Object> key,
197 Handle<Object> value, 197 Handle<Object> value,
198 PropertyAttributes attributes); 198 PropertyAttributes attributes);
199 199
200 Handle<Object> ForceSetProperty(Handle<JSObject> object, 200 Handle<Object> ForceSetProperty(Handle<JSObject> object,
201 Handle<Object> key, 201 Handle<Object> key,
202 Handle<Object> value, 202 Handle<Object> value,
203 PropertyAttributes attributes); 203 PropertyAttributes attributes);
204 204
205 Handle<Object> ForceDeleteProperty(Handle<JSObject> object,
206 Handle<Object> key);
207
205 Handle<Object> IgnoreAttributesAndSetLocalProperty(Handle<JSObject> object, 208 Handle<Object> IgnoreAttributesAndSetLocalProperty(Handle<JSObject> object,
206 Handle<String> key, 209 Handle<String> key,
207 Handle<Object> value, 210 Handle<Object> value,
208 PropertyAttributes attributes); 211 PropertyAttributes attributes);
209 212
210 Handle<Object> SetPropertyWithInterceptor(Handle<JSObject> object, 213 Handle<Object> SetPropertyWithInterceptor(Handle<JSObject> object,
211 Handle<String> key, 214 Handle<String> key,
212 Handle<Object> value, 215 Handle<Object> value,
213 PropertyAttributes attributes); 216 PropertyAttributes attributes);
214 217
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 private: 341 private:
339 bool has_been_transformed_; // Tells whether the object has been transformed. 342 bool has_been_transformed_; // Tells whether the object has been transformed.
340 int unused_property_fields_; // Captures the unused number of field. 343 int unused_property_fields_; // Captures the unused number of field.
341 Handle<JSObject> object_; // The object being optimized. 344 Handle<JSObject> object_; // The object being optimized.
342 }; 345 };
343 346
344 347
345 } } // namespace v8::internal 348 } } // namespace v8::internal
346 349
347 #endif // V8_HANDLES_H_ 350 #endif // V8_HANDLES_H_
OLDNEW
« no previous file with comments | « src/api.cc ('k') | src/handles.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698