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

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

Issue 23726041: Turn the NumberToStringStub into a hydrogen stub. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comments. 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/x64/full-codegen-x64.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 955 matching lines...) Expand 10 before | Expand all | Expand 10 after
966 case CodeStub::RegExpExec: { 966 case CodeStub::RegExpExec: {
967 RegExpExecStub stub; 967 RegExpExecStub stub;
968 CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr); 968 CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr);
969 break; 969 break;
970 } 970 }
971 case CodeStub::SubString: { 971 case CodeStub::SubString: {
972 SubStringStub stub; 972 SubStringStub stub;
973 CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr); 973 CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr);
974 break; 974 break;
975 } 975 }
976 case CodeStub::NumberToString: {
977 NumberToStringStub stub;
978 CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr);
979 break;
980 }
981 case CodeStub::StringCompare: { 976 case CodeStub::StringCompare: {
982 StringCompareStub stub; 977 StringCompareStub stub;
983 CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr); 978 CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr);
984 break; 979 break;
985 } 980 }
986 case CodeStub::TranscendentalCache: { 981 case CodeStub::TranscendentalCache: {
987 TranscendentalCacheStub stub(instr->transcendental_type(), 982 TranscendentalCacheStub stub(instr->transcendental_type(),
988 TranscendentalCacheStub::TAGGED); 983 TranscendentalCacheStub::TAGGED);
989 CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr); 984 CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr);
990 break; 985 break;
(...skipping 4525 matching lines...) Expand 10 before | Expand all | Expand 10 after
5516 FixedArray::kHeaderSize - kPointerSize)); 5511 FixedArray::kHeaderSize - kPointerSize));
5517 __ bind(&done); 5512 __ bind(&done);
5518 } 5513 }
5519 5514
5520 5515
5521 #undef __ 5516 #undef __
5522 5517
5523 } } // namespace v8::internal 5518 } } // namespace v8::internal
5524 5519
5525 #endif // V8_TARGET_ARCH_X64 5520 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/x64/full-codegen-x64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698