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

Side by Side Diff: src/builtins.cc

Issue 6315004: 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
« no previous file with comments | « src/builtins.h ('k') | src/heap.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 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 1263 matching lines...) Expand 10 before | Expand all | Expand 10 after
1274 static void Generate_KeyedLoadIC_Generic(MacroAssembler* masm) { 1274 static void Generate_KeyedLoadIC_Generic(MacroAssembler* masm) {
1275 KeyedLoadIC::GenerateGeneric(masm); 1275 KeyedLoadIC::GenerateGeneric(masm);
1276 } 1276 }
1277 1277
1278 1278
1279 static void Generate_KeyedLoadIC_String(MacroAssembler* masm) { 1279 static void Generate_KeyedLoadIC_String(MacroAssembler* masm) {
1280 KeyedLoadIC::GenerateString(masm); 1280 KeyedLoadIC::GenerateString(masm);
1281 } 1281 }
1282 1282
1283 1283
1284 static void Generate_KeyedLoadIC_ExternalByteArray(MacroAssembler* masm) {
1285 KeyedLoadIC::GenerateExternalArray(masm, kExternalByteArray);
1286 }
1287
1288
1289 static void Generate_KeyedLoadIC_ExternalUnsignedByteArray(
1290 MacroAssembler* masm) {
1291 KeyedLoadIC::GenerateExternalArray(masm, kExternalUnsignedByteArray);
1292 }
1293
1294
1295 static void Generate_KeyedLoadIC_ExternalShortArray(MacroAssembler* masm) {
1296 KeyedLoadIC::GenerateExternalArray(masm, kExternalShortArray);
1297 }
1298
1299
1300 static void Generate_KeyedLoadIC_ExternalUnsignedShortArray(
1301 MacroAssembler* masm) {
1302 KeyedLoadIC::GenerateExternalArray(masm, kExternalUnsignedShortArray);
1303 }
1304
1305
1306 static void Generate_KeyedLoadIC_ExternalIntArray(MacroAssembler* masm) {
1307 KeyedLoadIC::GenerateExternalArray(masm, kExternalIntArray);
1308 }
1309
1310
1311 static void Generate_KeyedLoadIC_ExternalUnsignedIntArray(
1312 MacroAssembler* masm) {
1313 KeyedLoadIC::GenerateExternalArray(masm, kExternalUnsignedIntArray);
1314 }
1315
1316
1317 static void Generate_KeyedLoadIC_ExternalFloatArray(MacroAssembler* masm) {
1318 KeyedLoadIC::GenerateExternalArray(masm, kExternalFloatArray);
1319 }
1320
1321
1322 static void Generate_KeyedLoadIC_PreMonomorphic(MacroAssembler* masm) { 1284 static void Generate_KeyedLoadIC_PreMonomorphic(MacroAssembler* masm) {
1323 KeyedLoadIC::GeneratePreMonomorphic(masm); 1285 KeyedLoadIC::GeneratePreMonomorphic(masm);
1324 } 1286 }
1325 1287
1326 static void Generate_KeyedLoadIC_IndexedInterceptor(MacroAssembler* masm) { 1288 static void Generate_KeyedLoadIC_IndexedInterceptor(MacroAssembler* masm) {
1327 KeyedLoadIC::GenerateIndexedInterceptor(masm); 1289 KeyedLoadIC::GenerateIndexedInterceptor(masm);
1328 } 1290 }
1329 1291
1330 1292
1331 static void Generate_StoreIC_Initialize(MacroAssembler* masm) { 1293 static void Generate_StoreIC_Initialize(MacroAssembler* masm) {
(...skipping 24 matching lines...) Expand all
1356 static void Generate_StoreIC_GlobalProxy(MacroAssembler* masm) { 1318 static void Generate_StoreIC_GlobalProxy(MacroAssembler* masm) {
1357 StoreIC::GenerateGlobalProxy(masm); 1319 StoreIC::GenerateGlobalProxy(masm);
1358 } 1320 }
1359 1321
1360 1322
1361 static void Generate_KeyedStoreIC_Generic(MacroAssembler* masm) { 1323 static void Generate_KeyedStoreIC_Generic(MacroAssembler* masm) {
1362 KeyedStoreIC::GenerateGeneric(masm); 1324 KeyedStoreIC::GenerateGeneric(masm);
1363 } 1325 }
1364 1326
1365 1327
1366 static void Generate_KeyedStoreIC_ExternalByteArray(MacroAssembler* masm) {
1367 KeyedStoreIC::GenerateExternalArray(masm, kExternalByteArray);
1368 }
1369
1370
1371 static void Generate_KeyedStoreIC_ExternalUnsignedByteArray(
1372 MacroAssembler* masm) {
1373 KeyedStoreIC::GenerateExternalArray(masm, kExternalUnsignedByteArray);
1374 }
1375
1376
1377 static void Generate_KeyedStoreIC_ExternalShortArray(MacroAssembler* masm) {
1378 KeyedStoreIC::GenerateExternalArray(masm, kExternalShortArray);
1379 }
1380
1381
1382 static void Generate_KeyedStoreIC_ExternalUnsignedShortArray(
1383 MacroAssembler* masm) {
1384 KeyedStoreIC::GenerateExternalArray(masm, kExternalUnsignedShortArray);
1385 }
1386
1387
1388 static void Generate_KeyedStoreIC_ExternalIntArray(MacroAssembler* masm) {
1389 KeyedStoreIC::GenerateExternalArray(masm, kExternalIntArray);
1390 }
1391
1392
1393 static void Generate_KeyedStoreIC_ExternalUnsignedIntArray(
1394 MacroAssembler* masm) {
1395 KeyedStoreIC::GenerateExternalArray(masm, kExternalUnsignedIntArray);
1396 }
1397
1398
1399 static void Generate_KeyedStoreIC_ExternalFloatArray(MacroAssembler* masm) {
1400 KeyedStoreIC::GenerateExternalArray(masm, kExternalFloatArray);
1401 }
1402
1403
1404 static void Generate_KeyedStoreIC_Miss(MacroAssembler* masm) { 1328 static void Generate_KeyedStoreIC_Miss(MacroAssembler* masm) {
1405 KeyedStoreIC::GenerateMiss(masm); 1329 KeyedStoreIC::GenerateMiss(masm);
1406 } 1330 }
1407 1331
1408 1332
1409 static void Generate_KeyedStoreIC_Initialize(MacroAssembler* masm) { 1333 static void Generate_KeyedStoreIC_Initialize(MacroAssembler* masm) {
1410 KeyedStoreIC::GenerateInitialize(masm); 1334 KeyedStoreIC::GenerateInitialize(masm);
1411 } 1335 }
1412 1336
1413 1337
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
1602 if (entry->contains(pc)) { 1526 if (entry->contains(pc)) {
1603 return names_[i]; 1527 return names_[i];
1604 } 1528 }
1605 } 1529 }
1606 } 1530 }
1607 return NULL; 1531 return NULL;
1608 } 1532 }
1609 1533
1610 1534
1611 } } // namespace v8::internal 1535 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/builtins.h ('k') | src/heap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698