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

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

Issue 6055006: Fix inlining of instanceof stub for ARM (r6093). (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years 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/arm/code-stubs-arm.cc ('k') | src/arm/lithium-codegen-arm.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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 1298 matching lines...) Expand 10 before | Expand all | Expand 10 after
1309 } 1309 }
1310 1310
1311 1311
1312 LInstruction* LChunkBuilder::DoArgumentsElements(HArgumentsElements* elems) { 1312 LInstruction* LChunkBuilder::DoArgumentsElements(HArgumentsElements* elems) {
1313 return DefineAsRegister(new LArgumentsElements); 1313 return DefineAsRegister(new LArgumentsElements);
1314 } 1314 }
1315 1315
1316 1316
1317 LInstruction* LChunkBuilder::DoInstanceOf(HInstanceOf* instr) { 1317 LInstruction* LChunkBuilder::DoInstanceOf(HInstanceOf* instr) {
1318 LInstruction* result = 1318 LInstruction* result =
1319 new LInstanceOf(UseFixed(instr->left(), r1), 1319 new LInstanceOf(UseFixed(instr->left(), r0),
1320 UseFixed(instr->right(), r0)); 1320 UseFixed(instr->right(), r1));
1321 return MarkAsCall(DefineFixed(result, r0), instr); 1321 return MarkAsCall(DefineFixed(result, r0), instr);
1322 } 1322 }
1323 1323
1324 1324
1325 LInstruction* LChunkBuilder::DoApplyArguments(HApplyArguments* instr) { 1325 LInstruction* LChunkBuilder::DoApplyArguments(HApplyArguments* instr) {
1326 LOperand* function = UseFixed(instr->function(), r1); 1326 LOperand* function = UseFixed(instr->function(), r1);
1327 LOperand* receiver = UseFixed(instr->receiver(), r0); 1327 LOperand* receiver = UseFixed(instr->receiver(), r0);
1328 LOperand* length = UseRegisterAtStart(instr->length()); 1328 LOperand* length = UseRegisterAtStart(instr->length());
1329 LOperand* elements = UseRegisterAtStart(instr->elements()); 1329 LOperand* elements = UseRegisterAtStart(instr->elements());
1330 LInstruction* result = new LApplyArguments(function, 1330 LInstruction* result = new LApplyArguments(function,
(...skipping 790 matching lines...) Expand 10 before | Expand all | Expand 10 after
2121 void LPointerMap::PrintTo(StringStream* stream) const { 2121 void LPointerMap::PrintTo(StringStream* stream) const {
2122 stream->Add("{"); 2122 stream->Add("{");
2123 for (int i = 0; i < pointer_operands_.length(); ++i) { 2123 for (int i = 0; i < pointer_operands_.length(); ++i) {
2124 if (i != 0) stream->Add(";"); 2124 if (i != 0) stream->Add(";");
2125 pointer_operands_[i]->PrintTo(stream); 2125 pointer_operands_[i]->PrintTo(stream);
2126 } 2126 }
2127 stream->Add("} @%d", position()); 2127 stream->Add("} @%d", position());
2128 } 2128 }
2129 2129
2130 } } // namespace v8::internal 2130 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm/code-stubs-arm.cc ('k') | src/arm/lithium-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698