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

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

Issue 148883002: Synchronize with r15594. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 years, 10 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/a64/lithium-a64.h ('k') | src/a64/lithium-codegen-a64.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 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 1368 matching lines...) Expand 10 before | Expand all | Expand 10 after
1379 LInstruction* LChunkBuilder::DoDebugBreak(HDebugBreak* instr) { 1379 LInstruction* LChunkBuilder::DoDebugBreak(HDebugBreak* instr) {
1380 return new(zone()) LDebugBreak(); 1380 return new(zone()) LDebugBreak();
1381 } 1381 }
1382 1382
1383 1383
1384 LInstruction* LChunkBuilder::DoDeclareGlobals(HDeclareGlobals* instr) { 1384 LInstruction* LChunkBuilder::DoDeclareGlobals(HDeclareGlobals* instr) {
1385 return MarkAsCall(new(zone()) LDeclareGlobals, instr); 1385 return MarkAsCall(new(zone()) LDeclareGlobals, instr);
1386 } 1386 }
1387 1387
1388 1388
1389 LInstruction* LChunkBuilder::DoDeleteProperty(HDeleteProperty* instr) {
1390 UNIMPLEMENTED_INSTRUCTION();
1391 }
1392
1393
1394 LInstruction* LChunkBuilder::DoDeoptimize(HDeoptimize* instr) { 1389 LInstruction* LChunkBuilder::DoDeoptimize(HDeoptimize* instr) {
1395 return AssignEnvironment(new(zone()) LDeoptimize); 1390 return AssignEnvironment(new(zone()) LDeoptimize);
1396 } 1391 }
1397 1392
1398 1393
1399 LInstruction* LChunkBuilder::DoDiv(HDiv* instr) { 1394 LInstruction* LChunkBuilder::DoDiv(HDiv* instr) {
1400 if (instr->representation().IsInteger32()) { 1395 if (instr->representation().IsInteger32()) {
1401 // TODO(all): Update this case to support smi inputs. 1396 // TODO(all): Update this case to support smi inputs.
1402 ASSERT(instr->left()->representation().Equals(instr->representation())); 1397 ASSERT(instr->left()->representation().Equals(instr->representation()));
1403 ASSERT(instr->right()->representation().Equals(instr->representation())); 1398 ASSERT(instr->right()->representation().Equals(instr->representation()));
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
1504 1499
1505 1500
1506 LInstruction* LChunkBuilder::DoHasInstanceTypeAndBranch( 1501 LInstruction* LChunkBuilder::DoHasInstanceTypeAndBranch(
1507 HHasInstanceTypeAndBranch* instr) { 1502 HHasInstanceTypeAndBranch* instr) {
1508 ASSERT(instr->value()->representation().IsTagged()); 1503 ASSERT(instr->value()->representation().IsTagged());
1509 LOperand* value = UseRegisterAtStart(instr->value()); 1504 LOperand* value = UseRegisterAtStart(instr->value());
1510 return new(zone()) LHasInstanceTypeAndBranch(value, TempRegister()); 1505 return new(zone()) LHasInstanceTypeAndBranch(value, TempRegister());
1511 } 1506 }
1512 1507
1513 1508
1514 LInstruction* LChunkBuilder::DoIn(HIn* instr) {
1515 LOperand* key = UseRegisterAtStart(instr->key());
1516 LOperand* object = UseRegisterAtStart(instr->object());
1517 LIn* result = new(zone()) LIn(key, object);
1518 return MarkAsCall(DefineFixed(result, x0), instr);
1519 }
1520
1521
1522 LInstruction* LChunkBuilder::DoInductionVariableAnnotation( 1509 LInstruction* LChunkBuilder::DoInductionVariableAnnotation(
1523 HInductionVariableAnnotation* instr) { 1510 HInductionVariableAnnotation* instr) {
1524 return NULL; 1511 return NULL;
1525 } 1512 }
1526 1513
1527 1514
1528 LInstruction* LChunkBuilder::DoInnerAllocatedObject( 1515 LInstruction* LChunkBuilder::DoInnerAllocatedObject(
1529 HInnerAllocatedObject* inner_object) { 1516 HInnerAllocatedObject* inner_object) {
1530 LOperand* base_object = UseRegisterAtStart(inner_object->base_object()); 1517 LOperand* base_object = UseRegisterAtStart(inner_object->base_object());
1531 return DefineAsRegister(new(zone()) LInnerAllocatedObject(base_object)); 1518 return DefineAsRegister(new(zone()) LInnerAllocatedObject(base_object));
(...skipping 995 matching lines...) Expand 10 before | Expand all | Expand 10 after
2527 LInstruction* LChunkBuilder::DoWrapReceiver(HWrapReceiver* instr) { 2514 LInstruction* LChunkBuilder::DoWrapReceiver(HWrapReceiver* instr) {
2528 LOperand* receiver = UseRegister(instr->receiver()); 2515 LOperand* receiver = UseRegister(instr->receiver());
2529 LOperand* function = UseRegisterAtStart(instr->function()); 2516 LOperand* function = UseRegisterAtStart(instr->function());
2530 LOperand* temp = TempRegister(); 2517 LOperand* temp = TempRegister();
2531 LWrapReceiver* result = new(zone()) LWrapReceiver(receiver, function, temp); 2518 LWrapReceiver* result = new(zone()) LWrapReceiver(receiver, function, temp);
2532 return AssignEnvironment(DefineAsRegister(result)); 2519 return AssignEnvironment(DefineAsRegister(result));
2533 } 2520 }
2534 2521
2535 2522
2536 } } // namespace v8::internal 2523 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/a64/lithium-a64.h ('k') | src/a64/lithium-codegen-a64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698