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

Side by Side Diff: src/builtins.cc

Issue 6303012: Truncate rather than round to nearest when performing float-to-integer... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 years, 11 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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 1264 matching lines...) Expand 10 before | Expand all | Expand 10 after
1275 static void Generate_KeyedLoadIC_Generic(MacroAssembler* masm) { 1275 static void Generate_KeyedLoadIC_Generic(MacroAssembler* masm) {
1276 KeyedLoadIC::GenerateGeneric(masm); 1276 KeyedLoadIC::GenerateGeneric(masm);
1277 } 1277 }
1278 1278
1279 1279
1280 static void Generate_KeyedLoadIC_String(MacroAssembler* masm) { 1280 static void Generate_KeyedLoadIC_String(MacroAssembler* masm) {
1281 KeyedLoadIC::GenerateString(masm); 1281 KeyedLoadIC::GenerateString(masm);
1282 } 1282 }
1283 1283
1284 1284
1285 static void Generate_KeyedLoadIC_ExternalByteArray(MacroAssembler* masm) {
1286 KeyedLoadIC::GenerateExternalArray(masm, kExternalByteArray);
1287 }
1288
1289
1290 static void Generate_KeyedLoadIC_ExternalUnsignedByteArray(
1291 MacroAssembler* masm) {
1292 KeyedLoadIC::GenerateExternalArray(masm, kExternalUnsignedByteArray);
1293 }
1294
1295
1296 static void Generate_KeyedLoadIC_ExternalShortArray(MacroAssembler* masm) {
1297 KeyedLoadIC::GenerateExternalArray(masm, kExternalShortArray);
1298 }
1299
1300
1301 static void Generate_KeyedLoadIC_ExternalUnsignedShortArray(
1302 MacroAssembler* masm) {
1303 KeyedLoadIC::GenerateExternalArray(masm, kExternalUnsignedShortArray);
1304 }
1305
1306
1307 static void Generate_KeyedLoadIC_ExternalIntArray(MacroAssembler* masm) {
1308 KeyedLoadIC::GenerateExternalArray(masm, kExternalIntArray);
1309 }
1310
1311
1312 static void Generate_KeyedLoadIC_ExternalUnsignedIntArray(
1313 MacroAssembler* masm) {
1314 KeyedLoadIC::GenerateExternalArray(masm, kExternalUnsignedIntArray);
1315 }
1316
1317
1318 static void Generate_KeyedLoadIC_ExternalFloatArray(MacroAssembler* masm) {
1319 KeyedLoadIC::GenerateExternalArray(masm, kExternalFloatArray);
1320 }
1321
1322
1323 static void Generate_KeyedLoadIC_PreMonomorphic(MacroAssembler* masm) { 1285 static void Generate_KeyedLoadIC_PreMonomorphic(MacroAssembler* masm) {
1324 KeyedLoadIC::GeneratePreMonomorphic(masm); 1286 KeyedLoadIC::GeneratePreMonomorphic(masm);
1325 } 1287 }
1326 1288
1327 static void Generate_KeyedLoadIC_IndexedInterceptor(MacroAssembler* masm) { 1289 static void Generate_KeyedLoadIC_IndexedInterceptor(MacroAssembler* masm) {
1328 KeyedLoadIC::GenerateIndexedInterceptor(masm); 1290 KeyedLoadIC::GenerateIndexedInterceptor(masm);
1329 } 1291 }
1330 1292
1331 1293
1332 static void Generate_StoreIC_Initialize(MacroAssembler* masm) { 1294 static void Generate_StoreIC_Initialize(MacroAssembler* masm) {
(...skipping 24 matching lines...) Expand all
1357 static void Generate_StoreIC_GlobalProxy(MacroAssembler* masm) { 1319 static void Generate_StoreIC_GlobalProxy(MacroAssembler* masm) {
1358 StoreIC::GenerateGlobalProxy(masm); 1320 StoreIC::GenerateGlobalProxy(masm);
1359 } 1321 }
1360 1322
1361 1323
1362 static void Generate_KeyedStoreIC_Generic(MacroAssembler* masm) { 1324 static void Generate_KeyedStoreIC_Generic(MacroAssembler* masm) {
1363 KeyedStoreIC::GenerateGeneric(masm); 1325 KeyedStoreIC::GenerateGeneric(masm);
1364 } 1326 }
1365 1327
1366 1328
1367 static void Generate_KeyedStoreIC_ExternalByteArray(MacroAssembler* masm) {
1368 KeyedStoreIC::GenerateExternalArray(masm, kExternalByteArray);
1369 }
1370
1371
1372 static void Generate_KeyedStoreIC_ExternalUnsignedByteArray(
1373 MacroAssembler* masm) {
1374 KeyedStoreIC::GenerateExternalArray(masm, kExternalUnsignedByteArray);
1375 }
1376
1377
1378 static void Generate_KeyedStoreIC_ExternalShortArray(MacroAssembler* masm) {
1379 KeyedStoreIC::GenerateExternalArray(masm, kExternalShortArray);
1380 }
1381
1382
1383 static void Generate_KeyedStoreIC_ExternalUnsignedShortArray(
1384 MacroAssembler* masm) {
1385 KeyedStoreIC::GenerateExternalArray(masm, kExternalUnsignedShortArray);
1386 }
1387
1388
1389 static void Generate_KeyedStoreIC_ExternalIntArray(MacroAssembler* masm) {
1390 KeyedStoreIC::GenerateExternalArray(masm, kExternalIntArray);
1391 }
1392
1393
1394 static void Generate_KeyedStoreIC_ExternalUnsignedIntArray(
1395 MacroAssembler* masm) {
1396 KeyedStoreIC::GenerateExternalArray(masm, kExternalUnsignedIntArray);
1397 }
1398
1399
1400 static void Generate_KeyedStoreIC_ExternalFloatArray(MacroAssembler* masm) {
1401 KeyedStoreIC::GenerateExternalArray(masm, kExternalFloatArray);
1402 }
1403
1404
1405 static void Generate_KeyedStoreIC_Miss(MacroAssembler* masm) { 1329 static void Generate_KeyedStoreIC_Miss(MacroAssembler* masm) {
1406 KeyedStoreIC::GenerateMiss(masm); 1330 KeyedStoreIC::GenerateMiss(masm);
1407 } 1331 }
1408 1332
1409 1333
1410 static void Generate_KeyedStoreIC_Initialize(MacroAssembler* masm) { 1334 static void Generate_KeyedStoreIC_Initialize(MacroAssembler* masm) {
1411 KeyedStoreIC::GenerateInitialize(masm); 1335 KeyedStoreIC::GenerateInitialize(masm);
1412 } 1336 }
1413 1337
1414 1338
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
1607 if (entry->contains(pc)) { 1531 if (entry->contains(pc)) {
1608 return names_[i]; 1532 return names_[i];
1609 } 1533 }
1610 } 1534 }
1611 } 1535 }
1612 return NULL; 1536 return NULL;
1613 } 1537 }
1614 1538
1615 1539
1616 } } // namespace v8::internal 1540 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/builtins.h ('k') | src/heap.h » ('j') | src/ia32/stub-cache-ia32.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698