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

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

Issue 150513002: A64: Todos - peek/poke and branch generator (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/assembler-a64.h ('k') | src/a64/lithium-codegen-a64.h » ('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 2105 matching lines...) Expand 10 before | Expand all | Expand 10 after
2116 } 2116 }
2117 } 2117 }
2118 2118
2119 2119
2120 LInstruction* LChunkBuilder::DoStoreContextSlot(HStoreContextSlot* instr) { 2120 LInstruction* LChunkBuilder::DoStoreContextSlot(HStoreContextSlot* instr) {
2121 LOperand* temp = TempRegister(); 2121 LOperand* temp = TempRegister();
2122 LOperand* context; 2122 LOperand* context;
2123 LOperand* value; 2123 LOperand* value;
2124 if (instr->NeedsWriteBarrier()) { 2124 if (instr->NeedsWriteBarrier()) {
2125 // TODO(all): Replace these constraints when RecordWriteStub has been 2125 // TODO(all): Replace these constraints when RecordWriteStub has been
2126 // rewritten. See GOOGJSE-586. 2126 // rewritten.
2127 context = UseRegisterAndClobber(instr->context()); 2127 context = UseRegisterAndClobber(instr->context());
2128 value = UseRegisterAndClobber(instr->value()); 2128 value = UseRegisterAndClobber(instr->value());
2129 } else { 2129 } else {
2130 context = UseRegister(instr->context()); 2130 context = UseRegister(instr->context());
2131 value = UseRegister(instr->value()); 2131 value = UseRegister(instr->value());
2132 } 2132 }
2133 LInstruction* result = new(zone()) LStoreContextSlot(context, value, temp); 2133 LInstruction* result = new(zone()) LStoreContextSlot(context, value, temp);
2134 return instr->RequiresHoleCheck() ? AssignEnvironment(result) : result; 2134 return instr->RequiresHoleCheck() ? AssignEnvironment(result) : result;
2135 } 2135 }
2136 2136
(...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after
2559 LInstruction* LChunkBuilder::DoWrapReceiver(HWrapReceiver* instr) { 2559 LInstruction* LChunkBuilder::DoWrapReceiver(HWrapReceiver* instr) {
2560 LOperand* receiver = UseRegister(instr->receiver()); 2560 LOperand* receiver = UseRegister(instr->receiver());
2561 LOperand* function = UseRegisterAtStart(instr->function()); 2561 LOperand* function = UseRegisterAtStart(instr->function());
2562 LOperand* temp = TempRegister(); 2562 LOperand* temp = TempRegister();
2563 LWrapReceiver* result = new(zone()) LWrapReceiver(receiver, function, temp); 2563 LWrapReceiver* result = new(zone()) LWrapReceiver(receiver, function, temp);
2564 return AssignEnvironment(DefineAsRegister(result)); 2564 return AssignEnvironment(DefineAsRegister(result));
2565 } 2565 }
2566 2566
2567 2567
2568 } } // namespace v8::internal 2568 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/a64/assembler-a64.h ('k') | src/a64/lithium-codegen-a64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698