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

Side by Side Diff: src/crankshaft/x64/lithium-x64.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/x64/lithium-x64.h ('k') | src/crankshaft/x87/lithium-codegen-x87.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/x64/lithium-x64.h" 5 #include "src/crankshaft/x64/lithium-x64.h"
6 6
7 #include <sstream> 7 #include <sstream>
8 8
9 #if V8_TARGET_ARCH_X64 9 #if V8_TARGET_ARCH_X64
10 10
(...skipping 2556 matching lines...) Expand 10 before | Expand all | Expand 10 after
2567 LTypeof* result = new(zone()) LTypeof(context, value); 2567 LTypeof* result = new(zone()) LTypeof(context, value);
2568 return MarkAsCall(DefineFixed(result, rax), instr); 2568 return MarkAsCall(DefineFixed(result, rax), instr);
2569 } 2569 }
2570 2570
2571 2571
2572 LInstruction* LChunkBuilder::DoTypeofIsAndBranch(HTypeofIsAndBranch* instr) { 2572 LInstruction* LChunkBuilder::DoTypeofIsAndBranch(HTypeofIsAndBranch* instr) {
2573 return new(zone()) LTypeofIsAndBranch(UseTempRegister(instr->value())); 2573 return new(zone()) LTypeofIsAndBranch(UseTempRegister(instr->value()));
2574 } 2574 }
2575 2575
2576 2576
2577 LInstruction* LChunkBuilder::DoIsConstructCallAndBranch(
2578 HIsConstructCallAndBranch* instr) {
2579 return new(zone()) LIsConstructCallAndBranch(TempRegister());
2580 }
2581
2582
2583 LInstruction* LChunkBuilder::DoSimulate(HSimulate* instr) { 2577 LInstruction* LChunkBuilder::DoSimulate(HSimulate* instr) {
2584 instr->ReplayEnvironment(current_block_->last_environment()); 2578 instr->ReplayEnvironment(current_block_->last_environment());
2585 return NULL; 2579 return NULL;
2586 } 2580 }
2587 2581
2588 2582
2589 LInstruction* LChunkBuilder::DoStackCheck(HStackCheck* instr) { 2583 LInstruction* LChunkBuilder::DoStackCheck(HStackCheck* instr) {
2590 info()->MarkAsDeferredCalling(); 2584 info()->MarkAsDeferredCalling();
2591 if (instr->is_function_entry()) { 2585 if (instr->is_function_entry()) {
2592 LOperand* context = UseFixed(instr->context(), rsi); 2586 LOperand* context = UseFixed(instr->context(), rsi);
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
2684 LAllocateBlockContext* result = 2678 LAllocateBlockContext* result =
2685 new(zone()) LAllocateBlockContext(context, function); 2679 new(zone()) LAllocateBlockContext(context, function);
2686 return MarkAsCall(DefineFixed(result, rsi), instr); 2680 return MarkAsCall(DefineFixed(result, rsi), instr);
2687 } 2681 }
2688 2682
2689 2683
2690 } // namespace internal 2684 } // namespace internal
2691 } // namespace v8 2685 } // namespace v8
2692 2686
2693 #endif // V8_TARGET_ARCH_X64 2687 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/crankshaft/x64/lithium-x64.h ('k') | src/crankshaft/x87/lithium-codegen-x87.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698