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

Side by Side Diff: src/handles.cc

Issue 6709028: Revert r7258 and r7260. (Closed) Base URL: https://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/handles.h ('k') | src/messages.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 2009 the V8 project authors. All rights reserved. 1 // Copyright 2009 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 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 CALL_HEAP_FUNCTION(obj->GetProperty(*str), Object); 326 CALL_HEAP_FUNCTION(obj->GetProperty(*str), Object);
327 } 327 }
328 328
329 329
330 Handle<Object> GetProperty(Handle<Object> obj, 330 Handle<Object> GetProperty(Handle<Object> obj,
331 Handle<Object> key) { 331 Handle<Object> key) {
332 CALL_HEAP_FUNCTION(Runtime::GetObjectProperty(obj, key), Object); 332 CALL_HEAP_FUNCTION(Runtime::GetObjectProperty(obj, key), Object);
333 } 333 }
334 334
335 335
336 Handle<Object> GetProperty(Handle<JSObject> obj,
337 Handle<String> name,
338 LookupResult* result) {
339 PropertyAttributes attributes;
340 CALL_HEAP_FUNCTION(obj->GetProperty(*obj, result, *name, &attributes),
341 Object);
342 }
343
344
345 Handle<Object> GetElement(Handle<Object> obj, 336 Handle<Object> GetElement(Handle<Object> obj,
346 uint32_t index) { 337 uint32_t index) {
347 CALL_HEAP_FUNCTION(Runtime::GetElement(obj, index), Object); 338 CALL_HEAP_FUNCTION(Runtime::GetElement(obj, index), Object);
348 } 339 }
349 340
350 341
351 Handle<Object> GetPropertyWithInterceptor(Handle<JSObject> receiver, 342 Handle<Object> GetPropertyWithInterceptor(Handle<JSObject> receiver,
352 Handle<JSObject> holder, 343 Handle<JSObject> holder,
353 Handle<String> name, 344 Handle<String> name,
354 PropertyAttributes* attributes) { 345 PropertyAttributes* attributes) {
(...skipping 564 matching lines...) Expand 10 before | Expand all | Expand 10 after
919 910
920 OptimizedObjectForAddingMultipleProperties:: 911 OptimizedObjectForAddingMultipleProperties::
921 ~OptimizedObjectForAddingMultipleProperties() { 912 ~OptimizedObjectForAddingMultipleProperties() {
922 // Reoptimize the object to allow fast property access. 913 // Reoptimize the object to allow fast property access.
923 if (has_been_transformed_) { 914 if (has_been_transformed_) {
924 TransformToFastProperties(object_, unused_property_fields_); 915 TransformToFastProperties(object_, unused_property_fields_);
925 } 916 }
926 } 917 }
927 918
928 } } // namespace v8::internal 919 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/handles.h ('k') | src/messages.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698