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

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

Issue 1611793003: X87: [compiler] Remove CodeStub from CompilationInfo. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 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
« no previous file with comments | « no previous file | no next file » | 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/x87/lithium-x87.h" 5 #include "src/crankshaft/x87/lithium-x87.h"
6 6
7 #include <sstream> 7 #include <sstream>
8 8
9 #if V8_TARGET_ARCH_X87 9 #if V8_TARGET_ARCH_X87
10 10
(...skipping 2478 matching lines...) Expand 10 before | Expand all | Expand 10 after
2489 } 2489 }
2490 2490
2491 2491
2492 LInstruction* LChunkBuilder::DoParameter(HParameter* instr) { 2492 LInstruction* LChunkBuilder::DoParameter(HParameter* instr) {
2493 LParameter* result = new(zone()) LParameter; 2493 LParameter* result = new(zone()) LParameter;
2494 if (instr->kind() == HParameter::STACK_PARAMETER) { 2494 if (instr->kind() == HParameter::STACK_PARAMETER) {
2495 int spill_index = chunk()->GetParameterStackSlot(instr->index()); 2495 int spill_index = chunk()->GetParameterStackSlot(instr->index());
2496 return DefineAsSpilled(result, spill_index); 2496 return DefineAsSpilled(result, spill_index);
2497 } else { 2497 } else {
2498 DCHECK(info()->IsStub()); 2498 DCHECK(info()->IsStub());
2499 CallInterfaceDescriptor descriptor = 2499 CallInterfaceDescriptor descriptor = graph()->descriptor();
2500 info()->code_stub()->GetCallInterfaceDescriptor();
2501 int index = static_cast<int>(instr->index()); 2500 int index = static_cast<int>(instr->index());
2502 Register reg = descriptor.GetRegisterParameter(index); 2501 Register reg = descriptor.GetRegisterParameter(index);
2503 return DefineFixed(result, reg); 2502 return DefineFixed(result, reg);
2504 } 2503 }
2505 } 2504 }
2506 2505
2507 2506
2508 LInstruction* LChunkBuilder::DoUnknownOSRValue(HUnknownOSRValue* instr) { 2507 LInstruction* LChunkBuilder::DoUnknownOSRValue(HUnknownOSRValue* instr) {
2509 // Use an index that corresponds to the location in the unoptimized frame, 2508 // Use an index that corresponds to the location in the unoptimized frame,
2510 // which the optimized frame will subsume. 2509 // which the optimized frame will subsume.
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
2691 LAllocateBlockContext* result = 2690 LAllocateBlockContext* result =
2692 new(zone()) LAllocateBlockContext(context, function); 2691 new(zone()) LAllocateBlockContext(context, function);
2693 return MarkAsCall(DefineFixed(result, esi), instr); 2692 return MarkAsCall(DefineFixed(result, esi), instr);
2694 } 2693 }
2695 2694
2696 2695
2697 } // namespace internal 2696 } // namespace internal
2698 } // namespace v8 2697 } // namespace v8
2699 2698
2700 #endif // V8_TARGET_ARCH_X87 2699 #endif // V8_TARGET_ARCH_X87
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698