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

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

Issue 292993003: Revert "Refactor transitioning stores." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 7 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/lithium-codegen-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 2353 matching lines...) Expand 10 before | Expand all | Expand 10 after
2364 LOperand* temp0 = NULL; 2364 LOperand* temp0 = NULL;
2365 LOperand* temp1 = NULL; 2365 LOperand* temp1 = NULL;
2366 2366
2367 if (instr->access().IsExternalMemory() || 2367 if (instr->access().IsExternalMemory() ||
2368 instr->field_representation().IsDouble()) { 2368 instr->field_representation().IsDouble()) {
2369 value = UseRegister(instr->value()); 2369 value = UseRegister(instr->value());
2370 } else if (instr->NeedsWriteBarrier()) { 2370 } else if (instr->NeedsWriteBarrier()) {
2371 value = UseRegisterAndClobber(instr->value()); 2371 value = UseRegisterAndClobber(instr->value());
2372 temp0 = TempRegister(); 2372 temp0 = TempRegister();
2373 temp1 = TempRegister(); 2373 temp1 = TempRegister();
2374 } else if (instr->NeedsWriteBarrierForMap()) {
2375 value = UseRegister(instr->value());
2376 temp0 = TempRegister();
2377 temp1 = TempRegister();
2374 } else { 2378 } else {
2375 value = UseRegister(instr->value()); 2379 value = UseRegister(instr->value());
2376 temp0 = TempRegister(); 2380 temp0 = TempRegister();
2377 } 2381 }
2378 2382
2379 LStoreNamedField* result = 2383 LStoreNamedField* result =
2380 new(zone()) LStoreNamedField(object, value, temp0, temp1); 2384 new(zone()) LStoreNamedField(object, value, temp0, temp1);
2381 if (instr->field_representation().IsHeapObject() && 2385 if (instr->field_representation().IsHeapObject() &&
2382 !instr->value()->type().IsHeapObject()) { 2386 !instr->value()->type().IsHeapObject()) {
2383 return AssignEnvironment(result); 2387 return AssignEnvironment(result);
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
2698 2702
2699 LInstruction* LChunkBuilder::DoWrapReceiver(HWrapReceiver* instr) { 2703 LInstruction* LChunkBuilder::DoWrapReceiver(HWrapReceiver* instr) {
2700 LOperand* receiver = UseRegister(instr->receiver()); 2704 LOperand* receiver = UseRegister(instr->receiver());
2701 LOperand* function = UseRegister(instr->function()); 2705 LOperand* function = UseRegister(instr->function());
2702 LWrapReceiver* result = new(zone()) LWrapReceiver(receiver, function); 2706 LWrapReceiver* result = new(zone()) LWrapReceiver(receiver, function);
2703 return AssignEnvironment(DefineAsRegister(result)); 2707 return AssignEnvironment(DefineAsRegister(result));
2704 } 2708 }
2705 2709
2706 2710
2707 } } // namespace v8::internal 2711 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/arm64/lithium-codegen-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698