| OLD | NEW | 
|    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 250 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  261   fun->shared()->set_length(lit->num_parameters()); |  261   fun->shared()->set_length(lit->num_parameters()); | 
|  262   fun->shared()->set_formal_parameter_count(lit->num_parameters()); |  262   fun->shared()->set_formal_parameter_count(lit->num_parameters()); | 
|  263   fun->shared()->set_script(*script); |  263   fun->shared()->set_script(*script); | 
|  264   fun->shared()->set_function_token_position(lit->function_token_position()); |  264   fun->shared()->set_function_token_position(lit->function_token_position()); | 
|  265   fun->shared()->set_start_position(lit->start_position()); |  265   fun->shared()->set_start_position(lit->start_position()); | 
|  266   fun->shared()->set_end_position(lit->end_position()); |  266   fun->shared()->set_end_position(lit->end_position()); | 
|  267   fun->shared()->set_is_expression(lit->is_expression()); |  267   fun->shared()->set_is_expression(lit->is_expression()); | 
|  268   fun->shared()->set_is_toplevel(is_toplevel); |  268   fun->shared()->set_is_toplevel(is_toplevel); | 
|  269   fun->shared()->set_inferred_name(*lit->inferred_name()); |  269   fun->shared()->set_inferred_name(*lit->inferred_name()); | 
|  270   fun->shared()->SetThisPropertyAssignmentsInfo( |  270   fun->shared()->SetThisPropertyAssignmentsInfo( | 
|  271       lit->has_only_this_property_assignments(), |  | 
|  272       lit->has_only_simple_this_property_assignments(), |  271       lit->has_only_simple_this_property_assignments(), | 
|  273       *lit->this_property_assignments()); |  272       *lit->this_property_assignments()); | 
|  274 } |  273 } | 
|  275  |  274  | 
|  276  |  275  | 
|  277 Handle<Code> CodeGenerator::ComputeLazyCompile(int argc) { |  276 Handle<Code> CodeGenerator::ComputeLazyCompile(int argc) { | 
|  278   CALL_HEAP_FUNCTION(StubCache::ComputeLazyCompile(argc), Code); |  277   CALL_HEAP_FUNCTION(StubCache::ComputeLazyCompile(argc), Code); | 
|  279 } |  278 } | 
|  280  |  279  | 
|  281  |  280  | 
| (...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  545 void ArgumentsAccessStub::Generate(MacroAssembler* masm) { |  544 void ArgumentsAccessStub::Generate(MacroAssembler* masm) { | 
|  546   switch (type_) { |  545   switch (type_) { | 
|  547     case READ_LENGTH: GenerateReadLength(masm); break; |  546     case READ_LENGTH: GenerateReadLength(masm); break; | 
|  548     case READ_ELEMENT: GenerateReadElement(masm); break; |  547     case READ_ELEMENT: GenerateReadElement(masm); break; | 
|  549     case NEW_OBJECT: GenerateNewObject(masm); break; |  548     case NEW_OBJECT: GenerateNewObject(masm); break; | 
|  550   } |  549   } | 
|  551 } |  550 } | 
|  552  |  551  | 
|  553  |  552  | 
|  554 } }  // namespace v8::internal |  553 } }  // namespace v8::internal | 
| OLD | NEW |