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

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

Issue 300893003: Refactor HType to get rid of various hacks. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix compilation. 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/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 1198 matching lines...) Expand 10 before | Expand all | Expand 10 after
1209 info()->MarkAsDeferredCalling(); 1209 info()->MarkAsDeferredCalling();
1210 result = AssignPointerMap(result); 1210 result = AssignPointerMap(result);
1211 } 1211 }
1212 return result; 1212 return result;
1213 } 1213 }
1214 1214
1215 1215
1216 LInstruction* LChunkBuilder::DoCheckHeapObject(HCheckHeapObject* instr) { 1216 LInstruction* LChunkBuilder::DoCheckHeapObject(HCheckHeapObject* instr) {
1217 LOperand* value = UseRegisterAtStart(instr->value()); 1217 LOperand* value = UseRegisterAtStart(instr->value());
1218 LInstruction* result = new(zone()) LCheckNonSmi(value); 1218 LInstruction* result = new(zone()) LCheckNonSmi(value);
1219 if (!instr->value()->IsHeapObject()) result = AssignEnvironment(result); 1219 if (!instr->value()->type().IsHeapObject()) {
1220 result = AssignEnvironment(result);
1221 }
1220 return result; 1222 return result;
1221 } 1223 }
1222 1224
1223 1225
1224 LInstruction* LChunkBuilder::DoCheckSmi(HCheckSmi* instr) { 1226 LInstruction* LChunkBuilder::DoCheckSmi(HCheckSmi* instr) {
1225 LOperand* value = UseRegisterAtStart(instr->value()); 1227 LOperand* value = UseRegisterAtStart(instr->value());
1226 return AssignEnvironment(new(zone()) LCheckSmi(value)); 1228 return AssignEnvironment(new(zone()) LCheckSmi(value));
1227 } 1229 }
1228 1230
1229 1231
(...skipping 1485 matching lines...) Expand 10 before | Expand all | Expand 10 after
2715 2717
2716 LInstruction* LChunkBuilder::DoWrapReceiver(HWrapReceiver* instr) { 2718 LInstruction* LChunkBuilder::DoWrapReceiver(HWrapReceiver* instr) {
2717 LOperand* receiver = UseRegister(instr->receiver()); 2719 LOperand* receiver = UseRegister(instr->receiver());
2718 LOperand* function = UseRegister(instr->function()); 2720 LOperand* function = UseRegister(instr->function());
2719 LWrapReceiver* result = new(zone()) LWrapReceiver(receiver, function); 2721 LWrapReceiver* result = new(zone()) LWrapReceiver(receiver, function);
2720 return AssignEnvironment(DefineAsRegister(result)); 2722 return AssignEnvironment(DefineAsRegister(result));
2721 } 2723 }
2722 2724
2723 2725
2724 } } // namespace v8::internal 2726 } } // 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