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

Side by Side Diff: src/ia32/lithium-ia32.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/ia32/lithium-codegen-ia32.cc ('k') | src/ia32/stub-cache-ia32.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 2606 matching lines...) Expand 10 before | Expand all | Expand 10 after
2617 } 2617 }
2618 2618
2619 2619
2620 LInstruction* LChunkBuilder::DoEnterInlined(HEnterInlined* instr) { 2620 LInstruction* LChunkBuilder::DoEnterInlined(HEnterInlined* instr) {
2621 HEnvironment* outer = current_block_->last_environment(); 2621 HEnvironment* outer = current_block_->last_environment();
2622 HConstant* undefined = graph()->GetConstantUndefined(); 2622 HConstant* undefined = graph()->GetConstantUndefined();
2623 HEnvironment* inner = outer->CopyForInlining(instr->closure(), 2623 HEnvironment* inner = outer->CopyForInlining(instr->closure(),
2624 instr->arguments_count(), 2624 instr->arguments_count(),
2625 instr->function(), 2625 instr->function(),
2626 undefined, 2626 undefined,
2627 instr->inlining_kind(), 2627 instr->inlining_kind());
2628 instr->undefined_receiver());
2629 // Only replay binding of arguments object if it wasn't removed from graph. 2628 // Only replay binding of arguments object if it wasn't removed from graph.
2630 if (instr->arguments_var() != NULL && instr->arguments_object()->IsLinked()) { 2629 if (instr->arguments_var() != NULL && instr->arguments_object()->IsLinked()) {
2631 inner->Bind(instr->arguments_var(), instr->arguments_object()); 2630 inner->Bind(instr->arguments_var(), instr->arguments_object());
2632 } 2631 }
2633 inner->set_entry(instr); 2632 inner->set_entry(instr);
2634 current_block_->UpdateEnvironment(inner); 2633 current_block_->UpdateEnvironment(inner);
2635 chunk_->AddInlinedClosure(instr->closure()); 2634 chunk_->AddInlinedClosure(instr->closure());
2636 return NULL; 2635 return NULL;
2637 } 2636 }
2638 2637
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
2680 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { 2679 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) {
2681 LOperand* object = UseRegister(instr->object()); 2680 LOperand* object = UseRegister(instr->object());
2682 LOperand* index = UseTempRegister(instr->index()); 2681 LOperand* index = UseTempRegister(instr->index());
2683 return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index)); 2682 return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index));
2684 } 2683 }
2685 2684
2686 2685
2687 } } // namespace v8::internal 2686 } } // namespace v8::internal
2688 2687
2689 #endif // V8_TARGET_ARCH_IA32 2688 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/ia32/stub-cache-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698