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

Side by Side Diff: src/crankshaft/ppc/lithium-ppc.cc

Issue 1479233002: Deprecate the %IsConstructCall intrinsic completely. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_js-use-new-target-3
Patch Set: Rebased. Created 5 years 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
« no previous file with comments | « src/crankshaft/ppc/lithium-ppc.h ('k') | src/crankshaft/x64/lithium-codegen-x64.h » ('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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/crankshaft/ppc/lithium-ppc.h" 5 #include "src/crankshaft/ppc/lithium-ppc.h"
6 6
7 #include <sstream> 7 #include <sstream>
8 8
9 #include "src/crankshaft/hydrogen-osr.h" 9 #include "src/crankshaft/hydrogen-osr.h"
10 #include "src/crankshaft/lithium-inl.h" 10 #include "src/crankshaft/lithium-inl.h"
(...skipping 2466 matching lines...) Expand 10 before | Expand all | Expand 10 after
2477 LTypeof* result = new (zone()) LTypeof(context, value); 2477 LTypeof* result = new (zone()) LTypeof(context, value);
2478 return MarkAsCall(DefineFixed(result, r3), instr); 2478 return MarkAsCall(DefineFixed(result, r3), instr);
2479 } 2479 }
2480 2480
2481 2481
2482 LInstruction* LChunkBuilder::DoTypeofIsAndBranch(HTypeofIsAndBranch* instr) { 2482 LInstruction* LChunkBuilder::DoTypeofIsAndBranch(HTypeofIsAndBranch* instr) {
2483 return new (zone()) LTypeofIsAndBranch(UseRegister(instr->value())); 2483 return new (zone()) LTypeofIsAndBranch(UseRegister(instr->value()));
2484 } 2484 }
2485 2485
2486 2486
2487 LInstruction* LChunkBuilder::DoIsConstructCallAndBranch(
2488 HIsConstructCallAndBranch* instr) {
2489 return new (zone()) LIsConstructCallAndBranch(TempRegister());
2490 }
2491
2492
2493 LInstruction* LChunkBuilder::DoSimulate(HSimulate* instr) { 2487 LInstruction* LChunkBuilder::DoSimulate(HSimulate* instr) {
2494 instr->ReplayEnvironment(current_block_->last_environment()); 2488 instr->ReplayEnvironment(current_block_->last_environment());
2495 return NULL; 2489 return NULL;
2496 } 2490 }
2497 2491
2498 2492
2499 LInstruction* LChunkBuilder::DoStackCheck(HStackCheck* instr) { 2493 LInstruction* LChunkBuilder::DoStackCheck(HStackCheck* instr) {
2500 if (instr->is_function_entry()) { 2494 if (instr->is_function_entry()) {
2501 LOperand* context = UseFixed(instr->context(), cp); 2495 LOperand* context = UseFixed(instr->context(), cp);
2502 return MarkAsCall(new (zone()) LStackCheck(context), instr); 2496 return MarkAsCall(new (zone()) LStackCheck(context), instr);
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
2587 LInstruction* LChunkBuilder::DoAllocateBlockContext( 2581 LInstruction* LChunkBuilder::DoAllocateBlockContext(
2588 HAllocateBlockContext* instr) { 2582 HAllocateBlockContext* instr) {
2589 LOperand* context = UseFixed(instr->context(), cp); 2583 LOperand* context = UseFixed(instr->context(), cp);
2590 LOperand* function = UseRegisterAtStart(instr->function()); 2584 LOperand* function = UseRegisterAtStart(instr->function());
2591 LAllocateBlockContext* result = 2585 LAllocateBlockContext* result =
2592 new (zone()) LAllocateBlockContext(context, function); 2586 new (zone()) LAllocateBlockContext(context, function);
2593 return MarkAsCall(DefineFixed(result, cp), instr); 2587 return MarkAsCall(DefineFixed(result, cp), instr);
2594 } 2588 }
2595 } // namespace internal 2589 } // namespace internal
2596 } // namespace v8 2590 } // namespace v8
OLDNEW
« no previous file with comments | « src/crankshaft/ppc/lithium-ppc.h ('k') | src/crankshaft/x64/lithium-codegen-x64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698