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

Side by Side Diff: src/accessors.cc

Issue 6725030: [Arguments] Introduce a new backing store for non-strict arguments objects. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/arguments
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 | « no previous file | src/arm/code-stubs-arm.cc » ('j') | src/arm/code-stubs-arm.cc » ('J')
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 715 matching lines...) Expand 10 before | Expand all | Expand 10 after
726 } 726 }
727 727
728 UNREACHABLE(); 728 UNREACHABLE();
729 } 729 }
730 730
731 731
732 static MaybeObject* ConstructArgumentsObjectForInlinedFunction( 732 static MaybeObject* ConstructArgumentsObjectForInlinedFunction(
733 JavaScriptFrame* frame, 733 JavaScriptFrame* frame,
734 Handle<JSFunction> inlined_function, 734 Handle<JSFunction> inlined_function,
735 int inlined_frame_index) { 735 int inlined_frame_index) {
736 UNIMPLEMENTED();
Kevin Millikin (Chromium) 2011/03/23 16:07:20 I have placed UNIMPLEMENTED() in places that will
736 Factory* factory = Isolate::Current()->factory(); 737 Factory* factory = Isolate::Current()->factory();
737 int args_count = inlined_function->shared()->formal_parameter_count(); 738 int args_count = inlined_function->shared()->formal_parameter_count();
738 ScopedVector<SlotRef> args_slots(args_count); 739 ScopedVector<SlotRef> args_slots(args_count);
739 ComputeSlotMappingForArguments(frame, inlined_frame_index, &args_slots); 740 ComputeSlotMappingForArguments(frame, inlined_frame_index, &args_slots);
740 Handle<JSObject> arguments = 741 Handle<JSObject> arguments =
741 factory->NewArgumentsObject(inlined_function, args_count); 742 factory->NewArgumentsObject(inlined_function, args_count);
742 Handle<FixedArray> array = factory->NewFixedArray(args_count); 743 Handle<FixedArray> array = factory->NewFixedArray(args_count);
743 for (int i = 0; i < args_count; ++i) { 744 for (int i = 0; i < args_count; ++i) {
744 Handle<Object> value = args_slots[i].GetValue(); 745 Handle<Object> value = args_slots[i].GetValue();
745 array->set(i, *value); 746 array->set(i, *value);
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
915 } 916 }
916 917
917 918
918 const AccessorDescriptor Accessors::ObjectPrototype = { 919 const AccessorDescriptor Accessors::ObjectPrototype = {
919 ObjectGetPrototype, 920 ObjectGetPrototype,
920 ObjectSetPrototype, 921 ObjectSetPrototype,
921 0 922 0
922 }; 923 };
923 924
924 } } // namespace v8::internal 925 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | src/arm/code-stubs-arm.cc » ('j') | src/arm/code-stubs-arm.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698