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

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

Issue 11678007: SSI implementation. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 11 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
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 1009 matching lines...) Expand 10 before | Expand all | Expand 10 after
1020 LInstruction* LChunkBuilder::DoWrapReceiver(HWrapReceiver* instr) { 1020 LInstruction* LChunkBuilder::DoWrapReceiver(HWrapReceiver* instr) {
1021 LOperand* receiver = UseRegister(instr->receiver()); 1021 LOperand* receiver = UseRegister(instr->receiver());
1022 LOperand* function = UseRegisterAtStart(instr->function()); 1022 LOperand* function = UseRegisterAtStart(instr->function());
1023 LOperand* temp = TempRegister(); 1023 LOperand* temp = TempRegister();
1024 LWrapReceiver* result = 1024 LWrapReceiver* result =
1025 new(zone()) LWrapReceiver(receiver, function, temp); 1025 new(zone()) LWrapReceiver(receiver, function, temp);
1026 return AssignEnvironment(DefineSameAsFirst(result)); 1026 return AssignEnvironment(DefineSameAsFirst(result));
1027 } 1027 }
1028 1028
1029 1029
1030 LInstruction* LChunkBuilder::DoSsiDefinition(HSsiDefinition* instr) {
1031 UNREACHABLE();
1032 return NULL;
1033 }
1034
1035
1030 LInstruction* LChunkBuilder::DoApplyArguments(HApplyArguments* instr) { 1036 LInstruction* LChunkBuilder::DoApplyArguments(HApplyArguments* instr) {
1031 LOperand* function = UseFixed(instr->function(), edi); 1037 LOperand* function = UseFixed(instr->function(), edi);
1032 LOperand* receiver = UseFixed(instr->receiver(), eax); 1038 LOperand* receiver = UseFixed(instr->receiver(), eax);
1033 LOperand* length = UseFixed(instr->length(), ebx); 1039 LOperand* length = UseFixed(instr->length(), ebx);
1034 LOperand* elements = UseFixed(instr->elements(), ecx); 1040 LOperand* elements = UseFixed(instr->elements(), ecx);
1035 LApplyArguments* result = new(zone()) LApplyArguments(function, 1041 LApplyArguments* result = new(zone()) LApplyArguments(function,
1036 receiver, 1042 receiver,
1037 length, 1043 length,
1038 elements); 1044 elements);
1039 return MarkAsCall(DefineFixed(result, eax), instr, CAN_DEOPTIMIZE_EAGERLY); 1045 return MarkAsCall(DefineFixed(result, eax), instr, CAN_DEOPTIMIZE_EAGERLY);
(...skipping 1438 matching lines...) Expand 10 before | Expand all | Expand 10 after
2478 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { 2484 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) {
2479 LOperand* object = UseRegister(instr->object()); 2485 LOperand* object = UseRegister(instr->object());
2480 LOperand* index = UseTempRegister(instr->index()); 2486 LOperand* index = UseTempRegister(instr->index());
2481 return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index)); 2487 return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index));
2482 } 2488 }
2483 2489
2484 2490
2485 } } // namespace v8::internal 2491 } } // namespace v8::internal
2486 2492
2487 #endif // V8_TARGET_ARCH_IA32 2493 #endif // V8_TARGET_ARCH_IA32
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698