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

Side by Side Diff: src/arm/lithium-arm.cc

Issue 131663003: Make the strict-mode calling convention for contextual calls the default one. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix arm port Created 6 years, 11 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/arm/ic-arm.cc ('k') | src/arm/lithium-codegen-arm.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 2493 matching lines...) Expand 10 before | Expand all | Expand 10 after
2504 } 2504 }
2505 2505
2506 2506
2507 LInstruction* LChunkBuilder::DoEnterInlined(HEnterInlined* instr) { 2507 LInstruction* LChunkBuilder::DoEnterInlined(HEnterInlined* instr) {
2508 HEnvironment* outer = current_block_->last_environment(); 2508 HEnvironment* outer = current_block_->last_environment();
2509 HConstant* undefined = graph()->GetConstantUndefined(); 2509 HConstant* undefined = graph()->GetConstantUndefined();
2510 HEnvironment* inner = outer->CopyForInlining(instr->closure(), 2510 HEnvironment* inner = outer->CopyForInlining(instr->closure(),
2511 instr->arguments_count(), 2511 instr->arguments_count(),
2512 instr->function(), 2512 instr->function(),
2513 undefined, 2513 undefined,
2514 instr->inlining_kind(), 2514 instr->inlining_kind());
2515 instr->undefined_receiver());
2516 // Only replay binding of arguments object if it wasn't removed from graph. 2515 // Only replay binding of arguments object if it wasn't removed from graph.
2517 if (instr->arguments_var() != NULL && instr->arguments_object()->IsLinked()) { 2516 if (instr->arguments_var() != NULL && instr->arguments_object()->IsLinked()) {
2518 inner->Bind(instr->arguments_var(), instr->arguments_object()); 2517 inner->Bind(instr->arguments_var(), instr->arguments_object());
2519 } 2518 }
2520 inner->set_entry(instr); 2519 inner->set_entry(instr);
2521 current_block_->UpdateEnvironment(inner); 2520 current_block_->UpdateEnvironment(inner);
2522 chunk_->AddInlinedClosure(instr->closure()); 2521 chunk_->AddInlinedClosure(instr->closure());
2523 return NULL; 2522 return NULL;
2524 } 2523 }
2525 2524
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
2564 } 2563 }
2565 2564
2566 2565
2567 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { 2566 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) {
2568 LOperand* object = UseRegister(instr->object()); 2567 LOperand* object = UseRegister(instr->object());
2569 LOperand* index = UseRegister(instr->index()); 2568 LOperand* index = UseRegister(instr->index());
2570 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); 2569 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index));
2571 } 2570 }
2572 2571
2573 } } // namespace v8::internal 2572 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm/ic-arm.cc ('k') | src/arm/lithium-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698