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

Side by Side Diff: src/crankshaft/mips/lithium-mips.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/mips/lithium-mips.h ('k') | src/crankshaft/mips64/lithium-codegen-mips64.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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/mips/lithium-mips.h" 5 #include "src/crankshaft/mips/lithium-mips.h"
6 6
7 #include <sstream> 7 #include <sstream>
8 8
9 #if V8_TARGET_ARCH_MIPS 9 #if V8_TARGET_ARCH_MIPS
10 10
(...skipping 2460 matching lines...) Expand 10 before | Expand all | Expand 10 after
2471 LTypeof* result = new (zone()) LTypeof(context, value); 2471 LTypeof* result = new (zone()) LTypeof(context, value);
2472 return MarkAsCall(DefineFixed(result, v0), instr); 2472 return MarkAsCall(DefineFixed(result, v0), instr);
2473 } 2473 }
2474 2474
2475 2475
2476 LInstruction* LChunkBuilder::DoTypeofIsAndBranch(HTypeofIsAndBranch* instr) { 2476 LInstruction* LChunkBuilder::DoTypeofIsAndBranch(HTypeofIsAndBranch* instr) {
2477 return new(zone()) LTypeofIsAndBranch(UseTempRegister(instr->value())); 2477 return new(zone()) LTypeofIsAndBranch(UseTempRegister(instr->value()));
2478 } 2478 }
2479 2479
2480 2480
2481 LInstruction* LChunkBuilder::DoIsConstructCallAndBranch(
2482 HIsConstructCallAndBranch* instr) {
2483 return new(zone()) LIsConstructCallAndBranch(TempRegister());
2484 }
2485
2486
2487 LInstruction* LChunkBuilder::DoSimulate(HSimulate* instr) { 2481 LInstruction* LChunkBuilder::DoSimulate(HSimulate* instr) {
2488 instr->ReplayEnvironment(current_block_->last_environment()); 2482 instr->ReplayEnvironment(current_block_->last_environment());
2489 return NULL; 2483 return NULL;
2490 } 2484 }
2491 2485
2492 2486
2493 LInstruction* LChunkBuilder::DoStackCheck(HStackCheck* instr) { 2487 LInstruction* LChunkBuilder::DoStackCheck(HStackCheck* instr) {
2494 if (instr->is_function_entry()) { 2488 if (instr->is_function_entry()) {
2495 LOperand* context = UseFixed(instr->context(), cp); 2489 LOperand* context = UseFixed(instr->context(), cp);
2496 return MarkAsCall(new(zone()) LStackCheck(context), instr); 2490 return MarkAsCall(new(zone()) LStackCheck(context), instr);
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
2586 LOperand* function = UseRegisterAtStart(instr->function()); 2580 LOperand* function = UseRegisterAtStart(instr->function());
2587 LAllocateBlockContext* result = 2581 LAllocateBlockContext* result =
2588 new(zone()) LAllocateBlockContext(context, function); 2582 new(zone()) LAllocateBlockContext(context, function);
2589 return MarkAsCall(DefineFixed(result, cp), instr); 2583 return MarkAsCall(DefineFixed(result, cp), instr);
2590 } 2584 }
2591 2585
2592 } // namespace internal 2586 } // namespace internal
2593 } // namespace v8 2587 } // namespace v8
2594 2588
2595 #endif // V8_TARGET_ARCH_MIPS 2589 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/crankshaft/mips/lithium-mips.h ('k') | src/crankshaft/mips64/lithium-codegen-mips64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698