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

Side by Side Diff: src/handles.h

Issue 88026: Added ForceSet on objects (Closed)
Patch Set: Added docs for ForceSet Created 11 years, 8 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
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 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 Handle<Object> SetProperty(Handle<JSObject> object, 189 Handle<Object> SetProperty(Handle<JSObject> object,
190 Handle<String> key, 190 Handle<String> key,
191 Handle<Object> value, 191 Handle<Object> value,
192 PropertyAttributes attributes); 192 PropertyAttributes attributes);
193 193
194 Handle<Object> SetProperty(Handle<Object> object, 194 Handle<Object> SetProperty(Handle<Object> object,
195 Handle<Object> key, 195 Handle<Object> key,
196 Handle<Object> value, 196 Handle<Object> value,
197 PropertyAttributes attributes); 197 PropertyAttributes attributes);
198 198
199 Handle<Object> ForceSetProperty(Handle<JSObject> object,
200 Handle<Object> key,
201 Handle<Object> value,
202 PropertyAttributes attributes);
203
199 Handle<Object> IgnoreAttributesAndSetLocalProperty(Handle<JSObject> object, 204 Handle<Object> IgnoreAttributesAndSetLocalProperty(Handle<JSObject> object,
200 Handle<String> key, 205 Handle<String> key,
201 Handle<Object> value, 206 Handle<Object> value,
202 PropertyAttributes attributes); 207 PropertyAttributes attributes);
203 208
204 Handle<Object> SetPropertyWithInterceptor(Handle<JSObject> object, 209 Handle<Object> SetPropertyWithInterceptor(Handle<JSObject> object,
205 Handle<String> key, 210 Handle<String> key,
206 Handle<Object> value, 211 Handle<Object> value,
207 PropertyAttributes attributes); 212 PropertyAttributes attributes);
208 213
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 private: 334 private:
330 bool has_been_transformed_; // Tells whether the object has been transformed. 335 bool has_been_transformed_; // Tells whether the object has been transformed.
331 int unused_property_fields_; // Captures the unused number of field. 336 int unused_property_fields_; // Captures the unused number of field.
332 Handle<JSObject> object_; // The object being optimized. 337 Handle<JSObject> object_; // The object being optimized.
333 }; 338 };
334 339
335 340
336 } } // namespace v8::internal 341 } } // namespace v8::internal
337 342
338 #endif // V8_HANDLES_H_ 343 #endif // V8_HANDLES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698