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

Side by Side Diff: src/compiler.cc

Issue 6685119: [Arguments] Remove the arguments shadow symbol. (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/contexts.cc » ('j') | src/ia32/full-codegen-ia32.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 750 matching lines...) Expand 10 before | Expand all | Expand 10 after
761 function_info->set_end_position(lit->end_position()); 761 function_info->set_end_position(lit->end_position());
762 function_info->set_is_expression(lit->is_expression()); 762 function_info->set_is_expression(lit->is_expression());
763 function_info->set_is_toplevel(is_toplevel); 763 function_info->set_is_toplevel(is_toplevel);
764 function_info->set_inferred_name(*lit->inferred_name()); 764 function_info->set_inferred_name(*lit->inferred_name());
765 function_info->SetThisPropertyAssignmentsInfo( 765 function_info->SetThisPropertyAssignmentsInfo(
766 lit->has_only_simple_this_property_assignments(), 766 lit->has_only_simple_this_property_assignments(),
767 *lit->this_property_assignments()); 767 *lit->this_property_assignments());
768 function_info->set_try_full_codegen(lit->try_full_codegen()); 768 function_info->set_try_full_codegen(lit->try_full_codegen());
769 function_info->set_allows_lazy_compilation(lit->AllowsLazyCompilation()); 769 function_info->set_allows_lazy_compilation(lit->AllowsLazyCompilation());
770 function_info->set_strict_mode(lit->strict_mode()); 770 function_info->set_strict_mode(lit->strict_mode());
771 function_info->set_uses_arguments(lit->scope()->arguments() != NULL);
771 } 772 }
772 773
773 774
774 void Compiler::RecordFunctionCompilation(Logger::LogEventsAndTags tag, 775 void Compiler::RecordFunctionCompilation(Logger::LogEventsAndTags tag,
775 CompilationInfo* info, 776 CompilationInfo* info,
776 Handle<SharedFunctionInfo> shared) { 777 Handle<SharedFunctionInfo> shared) {
777 // SharedFunctionInfo is passed separately, because if CompilationInfo 778 // SharedFunctionInfo is passed separately, because if CompilationInfo
778 // was created using Script object, it will not have it. 779 // was created using Script object, it will not have it.
779 780
780 // Log the code generation. If source information is available include 781 // Log the code generation. If source information is available include
(...skipping 18 matching lines...) Expand all
799 shared->DebugName())); 800 shared->DebugName()));
800 } 801 }
801 } 802 }
802 803
803 GDBJIT(AddCode(name, 804 GDBJIT(AddCode(name,
804 Handle<Script>(info->script()), 805 Handle<Script>(info->script()),
805 Handle<Code>(info->code()))); 806 Handle<Code>(info->code())));
806 } 807 }
807 808
808 } } // namespace v8::internal 809 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | src/contexts.cc » ('j') | src/ia32/full-codegen-ia32.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698