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

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

Issue 12220074: Compile FastCloneShallowObjectStub using Crankshaft. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased. Created 7 years, 9 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-ia32.h ('k') | src/x64/code-stubs-x64.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 1008 matching lines...) Expand 10 before | Expand all | Expand 10 after
1019 HInstanceOfKnownGlobal* instr) { 1019 HInstanceOfKnownGlobal* instr) {
1020 LInstanceOfKnownGlobal* result = 1020 LInstanceOfKnownGlobal* result =
1021 new(zone()) LInstanceOfKnownGlobal( 1021 new(zone()) LInstanceOfKnownGlobal(
1022 UseFixed(instr->context(), esi), 1022 UseFixed(instr->context(), esi),
1023 UseFixed(instr->left(), InstanceofStub::left()), 1023 UseFixed(instr->left(), InstanceofStub::left()),
1024 FixedTemp(edi)); 1024 FixedTemp(edi));
1025 return MarkAsCall(DefineFixed(result, eax), instr); 1025 return MarkAsCall(DefineFixed(result, eax), instr);
1026 } 1026 }
1027 1027
1028 1028
1029 LInstruction* LChunkBuilder::DoInstanceSize(HInstanceSize* instr) {
1030 LOperand* object = UseRegisterAtStart(instr->object());
1031 return DefineAsRegister(new(zone()) LInstanceSize(object));
1032 }
1033
1034
1029 LInstruction* LChunkBuilder::DoWrapReceiver(HWrapReceiver* instr) { 1035 LInstruction* LChunkBuilder::DoWrapReceiver(HWrapReceiver* instr) {
1030 LOperand* receiver = UseRegister(instr->receiver()); 1036 LOperand* receiver = UseRegister(instr->receiver());
1031 LOperand* function = UseRegisterAtStart(instr->function()); 1037 LOperand* function = UseRegisterAtStart(instr->function());
1032 LOperand* temp = TempRegister(); 1038 LOperand* temp = TempRegister();
1033 LWrapReceiver* result = 1039 LWrapReceiver* result =
1034 new(zone()) LWrapReceiver(receiver, function, temp); 1040 new(zone()) LWrapReceiver(receiver, function, temp);
1035 return AssignEnvironment(DefineSameAsFirst(result)); 1041 return AssignEnvironment(DefineSameAsFirst(result));
1036 } 1042 }
1037 1043
1038 1044
(...skipping 1518 matching lines...) Expand 10 before | Expand all | Expand 10 after
2557 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { 2563 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) {
2558 LOperand* object = UseRegister(instr->object()); 2564 LOperand* object = UseRegister(instr->object());
2559 LOperand* index = UseTempRegister(instr->index()); 2565 LOperand* index = UseTempRegister(instr->index());
2560 return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index)); 2566 return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index));
2561 } 2567 }
2562 2568
2563 2569
2564 } } // namespace v8::internal 2570 } } // namespace v8::internal
2565 2571
2566 #endif // V8_TARGET_ARCH_IA32 2572 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/lithium-ia32.h ('k') | src/x64/code-stubs-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698