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

Side by Side Diff: src/codegen.cc

Issue 390012: Push bleeding_edge revision 3267 to trunk.... (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
Patch Set: Created 11 years, 1 month 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/ast.h ('k') | src/compiler.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 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW
« no previous file with comments | « src/ast.h ('k') | src/compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698