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

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

Issue 12220074: Compile FastCloneShallowObjectStub using Crankshaft. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Implemented port to ARM. Created 7 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
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 954 matching lines...) Expand 10 before | Expand all | Expand 10 after
965 965
966 LInstruction* LChunkBuilder::DoInstanceOfKnownGlobal( 966 LInstruction* LChunkBuilder::DoInstanceOfKnownGlobal(
967 HInstanceOfKnownGlobal* instr) { 967 HInstanceOfKnownGlobal* instr) {
968 LInstanceOfKnownGlobal* result = 968 LInstanceOfKnownGlobal* result =
969 new(zone()) LInstanceOfKnownGlobal(UseFixed(instr->left(), r0), 969 new(zone()) LInstanceOfKnownGlobal(UseFixed(instr->left(), r0),
970 FixedTemp(r4)); 970 FixedTemp(r4));
971 return MarkAsCall(DefineFixed(result, r0), instr); 971 return MarkAsCall(DefineFixed(result, r0), instr);
972 } 972 }
973 973
974 974
975 LInstruction* LChunkBuilder::DoInstanceSize(HInstanceSize* instr) {
976 LOperand* object = UseRegisterAtStart(instr->object());
977 return DefineAsRegister(new(zone()) LInstanceSize(object));
978 }
979
980
975 LInstruction* LChunkBuilder::DoWrapReceiver(HWrapReceiver* instr) { 981 LInstruction* LChunkBuilder::DoWrapReceiver(HWrapReceiver* instr) {
976 LOperand* receiver = UseRegisterAtStart(instr->receiver()); 982 LOperand* receiver = UseRegisterAtStart(instr->receiver());
977 LOperand* function = UseRegisterAtStart(instr->function()); 983 LOperand* function = UseRegisterAtStart(instr->function());
978 LWrapReceiver* result = new(zone()) LWrapReceiver(receiver, function); 984 LWrapReceiver* result = new(zone()) LWrapReceiver(receiver, function);
979 return AssignEnvironment(DefineSameAsFirst(result)); 985 return AssignEnvironment(DefineSameAsFirst(result));
980 } 986 }
981 987
982 988
983 LInstruction* LChunkBuilder::DoApplyArguments(HApplyArguments* instr) { 989 LInstruction* LChunkBuilder::DoApplyArguments(HApplyArguments* instr) {
984 LOperand* function = UseFixed(instr->function(), r1); 990 LOperand* function = UseFixed(instr->function(), r1);
(...skipping 1453 matching lines...) Expand 10 before | Expand all | Expand 10 after
2438 2444
2439 2445
2440 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { 2446 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) {
2441 LOperand* object = UseRegister(instr->object()); 2447 LOperand* object = UseRegister(instr->object());
2442 LOperand* index = UseRegister(instr->index()); 2448 LOperand* index = UseRegister(instr->index());
2443 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); 2449 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index));
2444 } 2450 }
2445 2451
2446 2452
2447 } } // namespace v8::internal 2453 } } // namespace v8::internal
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698