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

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: Addressed comments. Created 7 years, 2 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/ia32/full-codegen-ia32.cc ('k') | src/x64/code-stubs-x64.h » ('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 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 5011 matching lines...) Expand 10 before | Expand all | Expand 10 after
6394 FixedArray::kHeaderSize - kPointerSize)); 6389 FixedArray::kHeaderSize - kPointerSize));
6395 __ bind(&done); 6390 __ bind(&done);
6396 } 6391 }
6397 6392
6398 6393
6399 #undef __ 6394 #undef __
6400 6395
6401 } } // namespace v8::internal 6396 } } // namespace v8::internal
6402 6397
6403 #endif // V8_TARGET_ARCH_IA32 6398 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « 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