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

Side by Side Diff: src/arm64/lithium-arm64.cc

Issue 332333002: Version 3.26.31.6 (merged r21509, r21858, r21525) (Closed) Base URL: https://v8.googlecode.com/svn/branches/3.26
Patch Set: Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « src/arm/macro-assembler-arm.cc ('k') | src/arm64/lithium-codegen-arm64.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 "v8.h" 5 #include "v8.h"
6 6
7 #include "lithium-allocator-inl.h" 7 #include "lithium-allocator-inl.h"
8 #include "arm64/lithium-arm64.h" 8 #include "arm64/lithium-arm64.h"
9 #include "arm64/lithium-codegen-arm64.h" 9 #include "arm64/lithium-codegen-arm64.h"
10 #include "hydrogen-osr.h" 10 #include "hydrogen-osr.h"
(...skipping 2228 matching lines...) Expand 10 before | Expand all | Expand 10 after
2239 temp1 = TempRegister(); 2239 temp1 = TempRegister();
2240 } else if (instr->NeedsWriteBarrierForMap()) { 2240 } else if (instr->NeedsWriteBarrierForMap()) {
2241 value = UseRegister(instr->value()); 2241 value = UseRegister(instr->value());
2242 temp0 = TempRegister(); 2242 temp0 = TempRegister();
2243 temp1 = TempRegister(); 2243 temp1 = TempRegister();
2244 } else { 2244 } else {
2245 value = UseRegister(instr->value()); 2245 value = UseRegister(instr->value());
2246 temp0 = TempRegister(); 2246 temp0 = TempRegister();
2247 } 2247 }
2248 2248
2249 LStoreNamedField* result = 2249 return new(zone()) LStoreNamedField(object, value, temp0, temp1);
2250 new(zone()) LStoreNamedField(object, value, temp0, temp1);
2251 if (instr->field_representation().IsHeapObject() &&
2252 !instr->value()->type().IsHeapObject()) {
2253 return AssignEnvironment(result);
2254 }
2255 return result;
2256 } 2250 }
2257 2251
2258 2252
2259 LInstruction* LChunkBuilder::DoStoreNamedGeneric(HStoreNamedGeneric* instr) { 2253 LInstruction* LChunkBuilder::DoStoreNamedGeneric(HStoreNamedGeneric* instr) {
2260 LOperand* context = UseFixed(instr->context(), cp); 2254 LOperand* context = UseFixed(instr->context(), cp);
2261 LOperand* object = UseFixed(instr->object(), x1); 2255 LOperand* object = UseFixed(instr->object(), x1);
2262 LOperand* value = UseFixed(instr->value(), x0); 2256 LOperand* value = UseFixed(instr->value(), x0);
2263 LInstruction* result = new(zone()) LStoreNamedGeneric(context, object, value); 2257 LInstruction* result = new(zone()) LStoreNamedGeneric(context, object, value);
2264 return MarkAsCall(result, instr); 2258 return MarkAsCall(result, instr);
2265 } 2259 }
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
2554 2548
2555 LInstruction* LChunkBuilder::DoWrapReceiver(HWrapReceiver* instr) { 2549 LInstruction* LChunkBuilder::DoWrapReceiver(HWrapReceiver* instr) {
2556 LOperand* receiver = UseRegister(instr->receiver()); 2550 LOperand* receiver = UseRegister(instr->receiver());
2557 LOperand* function = UseRegister(instr->function()); 2551 LOperand* function = UseRegister(instr->function());
2558 LWrapReceiver* result = new(zone()) LWrapReceiver(receiver, function); 2552 LWrapReceiver* result = new(zone()) LWrapReceiver(receiver, function);
2559 return AssignEnvironment(DefineAsRegister(result)); 2553 return AssignEnvironment(DefineAsRegister(result));
2560 } 2554 }
2561 2555
2562 2556
2563 } } // namespace v8::internal 2557 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm/macro-assembler-arm.cc ('k') | src/arm64/lithium-codegen-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698