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

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

Issue 93863006: Revert "Load the global proxy from the context of the target function." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/ia32/stub-cache-ia32.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 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 1148 matching lines...) Expand 10 before | Expand all | Expand 10 after
1159 new(zone()) LInstanceOfKnownGlobal( 1159 new(zone()) LInstanceOfKnownGlobal(
1160 UseFixed(instr->context(), esi), 1160 UseFixed(instr->context(), esi),
1161 UseFixed(instr->left(), InstanceofStub::left()), 1161 UseFixed(instr->left(), InstanceofStub::left()),
1162 FixedTemp(edi)); 1162 FixedTemp(edi));
1163 return MarkAsCall(DefineFixed(result, eax), instr); 1163 return MarkAsCall(DefineFixed(result, eax), instr);
1164 } 1164 }
1165 1165
1166 1166
1167 LInstruction* LChunkBuilder::DoWrapReceiver(HWrapReceiver* instr) { 1167 LInstruction* LChunkBuilder::DoWrapReceiver(HWrapReceiver* instr) {
1168 LOperand* receiver = UseRegister(instr->receiver()); 1168 LOperand* receiver = UseRegister(instr->receiver());
1169 LOperand* function = UseRegister(instr->function()); 1169 LOperand* function = UseRegisterAtStart(instr->function());
1170 LOperand* temp = TempRegister(); 1170 LOperand* temp = TempRegister();
1171 LWrapReceiver* result = 1171 LWrapReceiver* result =
1172 new(zone()) LWrapReceiver(receiver, function, temp); 1172 new(zone()) LWrapReceiver(receiver, function, temp);
1173 return AssignEnvironment(DefineSameAsFirst(result)); 1173 return AssignEnvironment(DefineSameAsFirst(result));
1174 } 1174 }
1175 1175
1176 1176
1177 LInstruction* LChunkBuilder::DoApplyArguments(HApplyArguments* instr) { 1177 LInstruction* LChunkBuilder::DoApplyArguments(HApplyArguments* instr) {
1178 LOperand* function = UseFixed(instr->function(), edi); 1178 LOperand* function = UseFixed(instr->function(), edi);
1179 LOperand* receiver = UseFixed(instr->receiver(), eax); 1179 LOperand* receiver = UseFixed(instr->receiver(), eax);
(...skipping 1584 matching lines...) Expand 10 before | Expand all | Expand 10 after
2764 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { 2764 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) {
2765 LOperand* object = UseRegister(instr->object()); 2765 LOperand* object = UseRegister(instr->object());
2766 LOperand* index = UseTempRegister(instr->index()); 2766 LOperand* index = UseTempRegister(instr->index());
2767 return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index)); 2767 return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index));
2768 } 2768 }
2769 2769
2770 2770
2771 } } // namespace v8::internal 2771 } } // namespace v8::internal
2772 2772
2773 #endif // V8_TARGET_ARCH_IA32 2773 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/ia32/stub-cache-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698