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

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

Issue 23726041: Turn the NumberToStringStub into a hydrogen stub. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Using IfBuilder with JoinContinuation 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
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 1347 matching lines...) Expand 10 before | Expand all | Expand 10 after
1358 case CodeStub::RegExpExec: { 1358 case CodeStub::RegExpExec: {
1359 RegExpExecStub stub; 1359 RegExpExecStub stub;
1360 CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr); 1360 CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr);
1361 break; 1361 break;
1362 } 1362 }
1363 case CodeStub::SubString: { 1363 case CodeStub::SubString: {
1364 SubStringStub stub; 1364 SubStringStub stub;
1365 CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr); 1365 CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr);
1366 break; 1366 break;
1367 } 1367 }
1368 case CodeStub::NumberToString: {
1369 NumberToStringStub stub;
1370 CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr);
1371 break;
1372 }
1373 case CodeStub::StringCompare: { 1368 case CodeStub::StringCompare: {
1374 StringCompareStub stub; 1369 StringCompareStub stub;
1375 CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr); 1370 CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr);
1376 break; 1371 break;
1377 } 1372 }
1378 case CodeStub::TranscendentalCache: { 1373 case CodeStub::TranscendentalCache: {
1379 TranscendentalCacheStub stub(instr->transcendental_type(), 1374 TranscendentalCacheStub stub(instr->transcendental_type(),
1380 TranscendentalCacheStub::TAGGED); 1375 TranscendentalCacheStub::TAGGED);
1381 CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr); 1376 CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr);
1382 break; 1377 break;
(...skipping 5012 matching lines...) Expand 10 before | Expand all | Expand 10 after
6395 FixedArray::kHeaderSize - kPointerSize)); 6390 FixedArray::kHeaderSize - kPointerSize));
6396 __ bind(&done); 6391 __ bind(&done);
6397 } 6392 }
6398 6393
6399 6394
6400 #undef __ 6395 #undef __
6401 6396
6402 } } // namespace v8::internal 6397 } } // namespace v8::internal
6403 6398
6404 #endif // V8_TARGET_ARCH_IA32 6399 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« src/hydrogen.cc ('K') | « src/ia32/full-codegen-ia32.cc ('k') | src/x64/code-stubs-x64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698