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

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

Issue 12389070: MIPS: Compile FastCloneShallowObjectStub using Crankshaft. (Closed) Base URL: https://v8.googlecode.com/svn/branches/3.16
Patch Set: 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/mips/lithium-mips.h ('k') | no next file » | 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 953 matching lines...) Expand 10 before | Expand all | Expand 10 after
964 964
965 LInstruction* LChunkBuilder::DoInstanceOfKnownGlobal( 965 LInstruction* LChunkBuilder::DoInstanceOfKnownGlobal(
966 HInstanceOfKnownGlobal* instr) { 966 HInstanceOfKnownGlobal* instr) {
967 LInstanceOfKnownGlobal* result = 967 LInstanceOfKnownGlobal* result =
968 new(zone()) LInstanceOfKnownGlobal(UseFixed(instr->left(), a0), 968 new(zone()) LInstanceOfKnownGlobal(UseFixed(instr->left(), a0),
969 FixedTemp(t0)); 969 FixedTemp(t0));
970 return MarkAsCall(DefineFixed(result, v0), instr); 970 return MarkAsCall(DefineFixed(result, v0), instr);
971 } 971 }
972 972
973 973
974 LInstruction* LChunkBuilder::DoInstanceSize(HInstanceSize* instr) {
975 LOperand* object = UseRegisterAtStart(instr->object());
976 return DefineAsRegister(new(zone()) LInstanceSize(object));
977 }
978
979
974 LInstruction* LChunkBuilder::DoWrapReceiver(HWrapReceiver* instr) { 980 LInstruction* LChunkBuilder::DoWrapReceiver(HWrapReceiver* instr) {
975 LOperand* receiver = UseRegisterAtStart(instr->receiver()); 981 LOperand* receiver = UseRegisterAtStart(instr->receiver());
976 LOperand* function = UseRegisterAtStart(instr->function()); 982 LOperand* function = UseRegisterAtStart(instr->function());
977 LWrapReceiver* result = new(zone()) LWrapReceiver(receiver, function); 983 LWrapReceiver* result = new(zone()) LWrapReceiver(receiver, function);
978 return AssignEnvironment(DefineSameAsFirst(result)); 984 return AssignEnvironment(DefineSameAsFirst(result));
979 } 985 }
980 986
981 987
982 LInstruction* LChunkBuilder::DoApplyArguments(HApplyArguments* instr) { 988 LInstruction* LChunkBuilder::DoApplyArguments(HApplyArguments* instr) {
983 LOperand* function = UseFixed(instr->function(), a1); 989 LOperand* function = UseFixed(instr->function(), a1);
(...skipping 1378 matching lines...) Expand 10 before | Expand all | Expand 10 after
2362 2368
2363 2369
2364 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { 2370 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) {
2365 LOperand* object = UseRegister(instr->object()); 2371 LOperand* object = UseRegister(instr->object());
2366 LOperand* index = UseRegister(instr->index()); 2372 LOperand* index = UseRegister(instr->index());
2367 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); 2373 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index));
2368 } 2374 }
2369 2375
2370 2376
2371 } } // namespace v8::internal 2377 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/mips/lithium-mips.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698