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

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

Issue 24436004: MIPS: Turn the NumberToStringStub into a hydrogen stub. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 3 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/full-codegen-mips.cc ('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 1045 matching lines...) Expand 10 before | Expand all | Expand 10 after
1056 case CodeStub::RegExpExec: { 1056 case CodeStub::RegExpExec: {
1057 RegExpExecStub stub; 1057 RegExpExecStub stub;
1058 CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr); 1058 CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr);
1059 break; 1059 break;
1060 } 1060 }
1061 case CodeStub::SubString: { 1061 case CodeStub::SubString: {
1062 SubStringStub stub; 1062 SubStringStub stub;
1063 CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr); 1063 CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr);
1064 break; 1064 break;
1065 } 1065 }
1066 case CodeStub::NumberToString: {
1067 NumberToStringStub stub;
1068 CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr);
1069 break;
1070 }
1071 case CodeStub::StringCompare: { 1066 case CodeStub::StringCompare: {
1072 StringCompareStub stub; 1067 StringCompareStub stub;
1073 CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr); 1068 CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr);
1074 break; 1069 break;
1075 } 1070 }
1076 case CodeStub::TranscendentalCache: { 1071 case CodeStub::TranscendentalCache: {
1077 __ lw(a0, MemOperand(sp, 0)); 1072 __ lw(a0, MemOperand(sp, 0));
1078 TranscendentalCacheStub stub(instr->transcendental_type(), 1073 TranscendentalCacheStub stub(instr->transcendental_type(),
1079 TranscendentalCacheStub::TAGGED); 1074 TranscendentalCacheStub::TAGGED);
1080 CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr); 1075 CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr);
(...skipping 4692 matching lines...) Expand 10 before | Expand all | Expand 10 after
5773 __ Subu(scratch, result, scratch); 5768 __ Subu(scratch, result, scratch);
5774 __ lw(result, FieldMemOperand(scratch, 5769 __ lw(result, FieldMemOperand(scratch,
5775 FixedArray::kHeaderSize - kPointerSize)); 5770 FixedArray::kHeaderSize - kPointerSize));
5776 __ bind(&done); 5771 __ bind(&done);
5777 } 5772 }
5778 5773
5779 5774
5780 #undef __ 5775 #undef __
5781 5776
5782 } } // namespace v8::internal 5777 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/mips/full-codegen-mips.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698