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

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

Issue 1848003002: s390: Remove usages of Heap::NewSpaceStart and its external reference (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Add kNear Created 4 years, 8 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 | « src/crankshaft/s390/lithium-s390.h ('k') | src/s390/codegen-s390.cc » ('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/s390/lithium-s390.h" 5 #include "src/crankshaft/s390/lithium-s390.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 2045 matching lines...) Expand 10 before | Expand all | Expand 10 after
2056 LOperand* context = UseFixed(instr->context(), cp); 2056 LOperand* context = UseFixed(instr->context(), cp);
2057 LTransitionElementsKind* result = 2057 LTransitionElementsKind* result =
2058 new (zone()) LTransitionElementsKind(object, context, NULL); 2058 new (zone()) LTransitionElementsKind(object, context, NULL);
2059 return MarkAsCall(result, instr); 2059 return MarkAsCall(result, instr);
2060 } 2060 }
2061 } 2061 }
2062 2062
2063 LInstruction* LChunkBuilder::DoTrapAllocationMemento( 2063 LInstruction* LChunkBuilder::DoTrapAllocationMemento(
2064 HTrapAllocationMemento* instr) { 2064 HTrapAllocationMemento* instr) {
2065 LOperand* object = UseRegister(instr->object()); 2065 LOperand* object = UseRegister(instr->object());
2066 LOperand* temp = TempRegister(); 2066 LOperand* temp1 = TempRegister();
2067 LOperand* temp2 = TempRegister();
2067 LTrapAllocationMemento* result = 2068 LTrapAllocationMemento* result =
2068 new (zone()) LTrapAllocationMemento(object, temp); 2069 new (zone()) LTrapAllocationMemento(object, temp1, temp2);
2069 return AssignEnvironment(result); 2070 return AssignEnvironment(result);
2070 } 2071 }
2071 2072
2072 LInstruction* LChunkBuilder::DoMaybeGrowElements(HMaybeGrowElements* instr) { 2073 LInstruction* LChunkBuilder::DoMaybeGrowElements(HMaybeGrowElements* instr) {
2073 info()->MarkAsDeferredCalling(); 2074 info()->MarkAsDeferredCalling();
2074 LOperand* context = UseFixed(instr->context(), cp); 2075 LOperand* context = UseFixed(instr->context(), cp);
2075 LOperand* object = Use(instr->object()); 2076 LOperand* object = Use(instr->object());
2076 LOperand* elements = Use(instr->elements()); 2077 LOperand* elements = Use(instr->elements());
2077 LOperand* key = UseRegisterOrConstant(instr->key()); 2078 LOperand* key = UseRegisterOrConstant(instr->key());
2078 LOperand* current_capacity = UseRegisterOrConstant(instr->current_capacity()); 2079 LOperand* current_capacity = UseRegisterOrConstant(instr->current_capacity());
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
2313 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { 2314 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) {
2314 LOperand* object = UseRegister(instr->object()); 2315 LOperand* object = UseRegister(instr->object());
2315 LOperand* index = UseTempRegister(instr->index()); 2316 LOperand* index = UseTempRegister(instr->index());
2316 LLoadFieldByIndex* load = new (zone()) LLoadFieldByIndex(object, index); 2317 LLoadFieldByIndex* load = new (zone()) LLoadFieldByIndex(object, index);
2317 LInstruction* result = DefineSameAsFirst(load); 2318 LInstruction* result = DefineSameAsFirst(load);
2318 return AssignPointerMap(result); 2319 return AssignPointerMap(result);
2319 } 2320 }
2320 2321
2321 } // namespace internal 2322 } // namespace internal
2322 } // namespace v8 2323 } // namespace v8
OLDNEW
« no previous file with comments | « src/crankshaft/s390/lithium-s390.h ('k') | src/s390/codegen-s390.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698