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

Side by Side Diff: src/handles.h

Issue 6621042: Ensure the result is used for the remaining calls to SetElement... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 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/debug.cc ('k') | src/liveedit.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 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 Handle<String> key, 257 Handle<String> key,
258 Handle<Object> value, 258 Handle<Object> value,
259 PropertyAttributes attributes = NONE); 259 PropertyAttributes attributes = NONE);
260 260
261 Handle<Object> SetPropertyWithInterceptor(Handle<JSObject> object, 261 Handle<Object> SetPropertyWithInterceptor(Handle<JSObject> object,
262 Handle<String> key, 262 Handle<String> key,
263 Handle<Object> value, 263 Handle<Object> value,
264 PropertyAttributes attributes, 264 PropertyAttributes attributes,
265 StrictModeFlag strict_mode); 265 StrictModeFlag strict_mode);
266 266
267 Handle<Object> SetElement(Handle<JSObject> object, 267 MUST_USE_RESULT Handle<Object> SetElement(Handle<JSObject> object,
268 uint32_t index, 268 uint32_t index,
269 Handle<Object> value, 269 Handle<Object> value,
270 StrictModeFlag strict_mode); 270 StrictModeFlag strict_mode);
271 271
272 Handle<Object> SetOwnElement(Handle<JSObject> object, 272 Handle<Object> SetOwnElement(Handle<JSObject> object,
273 uint32_t index, 273 uint32_t index,
274 Handle<Object> value, 274 Handle<Object> value,
275 StrictModeFlag strict_mode); 275 StrictModeFlag strict_mode);
276 276
277 Handle<Object> GetProperty(Handle<JSObject> obj, 277 Handle<Object> GetProperty(Handle<JSObject> obj,
278 const char* name); 278 const char* name);
279 279
280 Handle<Object> GetProperty(Handle<Object> obj, 280 Handle<Object> GetProperty(Handle<Object> obj,
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
417 private: 417 private:
418 bool has_been_transformed_; // Tells whether the object has been transformed. 418 bool has_been_transformed_; // Tells whether the object has been transformed.
419 int unused_property_fields_; // Captures the unused number of field. 419 int unused_property_fields_; // Captures the unused number of field.
420 Handle<JSObject> object_; // The object being optimized. 420 Handle<JSObject> object_; // The object being optimized.
421 }; 421 };
422 422
423 423
424 } } // namespace v8::internal 424 } } // namespace v8::internal
425 425
426 #endif // V8_HANDLES_H_ 426 #endif // V8_HANDLES_H_
OLDNEW
« no previous file with comments | « src/debug.cc ('k') | src/liveedit.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698