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

Side by Side Diff: src/handles.cc

Issue 3146008: Change lazy compilation stub to a builtin.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 4 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/heap.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 801 matching lines...) Expand 10 before | Expand all | Expand 10 after
812 KEEP_INOBJECT_PROPERTIES, 812 KEEP_INOBJECT_PROPERTIES,
813 expected_additional_properties); 813 expected_additional_properties);
814 has_been_transformed_ = true; 814 has_been_transformed_ = true;
815 815
816 } else { 816 } else {
817 has_been_transformed_ = false; 817 has_been_transformed_ = false;
818 } 818 }
819 } 819 }
820 820
821 821
822 Handle<Code> ComputeLazyCompile(int argc) {
823 CALL_HEAP_FUNCTION(StubCache::ComputeLazyCompile(argc), Code);
824 }
825
826
827 OptimizedObjectForAddingMultipleProperties:: 822 OptimizedObjectForAddingMultipleProperties::
828 ~OptimizedObjectForAddingMultipleProperties() { 823 ~OptimizedObjectForAddingMultipleProperties() {
829 // Reoptimize the object to allow fast property access. 824 // Reoptimize the object to allow fast property access.
830 if (has_been_transformed_) { 825 if (has_been_transformed_) {
831 TransformToFastProperties(object_, unused_property_fields_); 826 TransformToFastProperties(object_, unused_property_fields_);
832 } 827 }
833 } 828 }
834 829
835 } } // namespace v8::internal 830 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/handles.h ('k') | src/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698