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

Side by Side Diff: src/handles.cc

Issue 597069: Partial snapshots now working for new context creation. Passes V8 tests.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/partial_snapshots/
Patch Set: Created 10 years, 10 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
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 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 236
237 Handle<Object> ForceSetProperty(Handle<JSObject> object, 237 Handle<Object> ForceSetProperty(Handle<JSObject> object,
238 Handle<Object> key, 238 Handle<Object> key,
239 Handle<Object> value, 239 Handle<Object> value,
240 PropertyAttributes attributes) { 240 PropertyAttributes attributes) {
241 CALL_HEAP_FUNCTION( 241 CALL_HEAP_FUNCTION(
242 Runtime::ForceSetObjectProperty(object, key, value, attributes), Object); 242 Runtime::ForceSetObjectProperty(object, key, value, attributes), Object);
243 } 243 }
244 244
245 245
246 Handle<Object> SetNormalizedProperty(Handle<JSObject> object,
247 Handle<String> key,
248 Handle<Object> value,
249 PropertyDetails details) {
250 CALL_HEAP_FUNCTION(object->SetNormalizedProperty(*key, *value, details),
251 Object);
252 }
253
254
246 Handle<Object> ForceDeleteProperty(Handle<JSObject> object, 255 Handle<Object> ForceDeleteProperty(Handle<JSObject> object,
247 Handle<Object> key) { 256 Handle<Object> key) {
248 CALL_HEAP_FUNCTION(Runtime::ForceDeleteObjectProperty(object, key), Object); 257 CALL_HEAP_FUNCTION(Runtime::ForceDeleteObjectProperty(object, key), Object);
249 } 258 }
250 259
251 260
252 Handle<Object> IgnoreAttributesAndSetLocalProperty( 261 Handle<Object> IgnoreAttributesAndSetLocalProperty(
253 Handle<JSObject> object, 262 Handle<JSObject> object,
254 Handle<String> key, 263 Handle<String> key,
255 Handle<Object> value, 264 Handle<Object> value,
(...skipping 485 matching lines...) Expand 10 before | Expand all | Expand 10 after
741 750
742 OptimizedObjectForAddingMultipleProperties:: 751 OptimizedObjectForAddingMultipleProperties::
743 ~OptimizedObjectForAddingMultipleProperties() { 752 ~OptimizedObjectForAddingMultipleProperties() {
744 // Reoptimize the object to allow fast property access. 753 // Reoptimize the object to allow fast property access.
745 if (has_been_transformed_) { 754 if (has_been_transformed_) {
746 TransformToFastProperties(object_, unused_property_fields_); 755 TransformToFastProperties(object_, unused_property_fields_);
747 } 756 }
748 } 757 }
749 758
750 } } // namespace v8::internal 759 } } // namespace v8::internal
OLDNEW
« src/bootstrapper.cc ('K') | « src/handles.h ('k') | test/cctest/test-api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698