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

Side by Side Diff: src/crankshaft/arm/lithium-arm.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/arm/lithium-arm.h ('k') | src/crankshaft/arm/lithium-codegen-arm.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/arm/lithium-arm.h" 5 #include "src/crankshaft/arm/lithium-arm.h"
6 6
7 #include <sstream> 7 #include <sstream>
8 8
9 #include "src/crankshaft/arm/lithium-codegen-arm.h" 9 #include "src/crankshaft/arm/lithium-codegen-arm.h"
10 #include "src/crankshaft/hydrogen-osr.h" 10 #include "src/crankshaft/hydrogen-osr.h"
(...skipping 2513 matching lines...) Expand 10 before | Expand all | Expand 10 after
2524 LTypeof* result = new (zone()) LTypeof(context, value); 2524 LTypeof* result = new (zone()) LTypeof(context, value);
2525 return MarkAsCall(DefineFixed(result, r0), instr); 2525 return MarkAsCall(DefineFixed(result, r0), instr);
2526 } 2526 }
2527 2527
2528 2528
2529 LInstruction* LChunkBuilder::DoTypeofIsAndBranch(HTypeofIsAndBranch* instr) { 2529 LInstruction* LChunkBuilder::DoTypeofIsAndBranch(HTypeofIsAndBranch* instr) {
2530 return new(zone()) LTypeofIsAndBranch(UseRegister(instr->value())); 2530 return new(zone()) LTypeofIsAndBranch(UseRegister(instr->value()));
2531 } 2531 }
2532 2532
2533 2533
2534 LInstruction* LChunkBuilder::DoIsConstructCallAndBranch(
2535 HIsConstructCallAndBranch* instr) {
2536 return new(zone()) LIsConstructCallAndBranch(TempRegister());
2537 }
2538
2539
2540 LInstruction* LChunkBuilder::DoSimulate(HSimulate* instr) { 2534 LInstruction* LChunkBuilder::DoSimulate(HSimulate* instr) {
2541 instr->ReplayEnvironment(current_block_->last_environment()); 2535 instr->ReplayEnvironment(current_block_->last_environment());
2542 return NULL; 2536 return NULL;
2543 } 2537 }
2544 2538
2545 2539
2546 LInstruction* LChunkBuilder::DoStackCheck(HStackCheck* instr) { 2540 LInstruction* LChunkBuilder::DoStackCheck(HStackCheck* instr) {
2547 if (instr->is_function_entry()) { 2541 if (instr->is_function_entry()) {
2548 LOperand* context = UseFixed(instr->context(), cp); 2542 LOperand* context = UseFixed(instr->context(), cp);
2549 return MarkAsCall(new(zone()) LStackCheck(context), instr); 2543 return MarkAsCall(new(zone()) LStackCheck(context), instr);
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
2636 HAllocateBlockContext* instr) { 2630 HAllocateBlockContext* instr) {
2637 LOperand* context = UseFixed(instr->context(), cp); 2631 LOperand* context = UseFixed(instr->context(), cp);
2638 LOperand* function = UseRegisterAtStart(instr->function()); 2632 LOperand* function = UseRegisterAtStart(instr->function());
2639 LAllocateBlockContext* result = 2633 LAllocateBlockContext* result =
2640 new(zone()) LAllocateBlockContext(context, function); 2634 new(zone()) LAllocateBlockContext(context, function);
2641 return MarkAsCall(DefineFixed(result, cp), instr); 2635 return MarkAsCall(DefineFixed(result, cp), instr);
2642 } 2636 }
2643 2637
2644 } // namespace internal 2638 } // namespace internal
2645 } // namespace v8 2639 } // namespace v8
OLDNEW
« no previous file with comments | « src/crankshaft/arm/lithium-arm.h ('k') | src/crankshaft/arm/lithium-codegen-arm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698