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

Side by Side Diff: src/hydrogen-instructions.cc

Issue 6879009: Support Float64Arrays (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: address comments Created 9 years, 8 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/hydrogen-instructions.h ('k') | src/ia32/lithium-codegen-ia32.cc » ('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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 1269 matching lines...) Expand 10 before | Expand all | Expand 10 after
1280 break; 1280 break;
1281 case kExternalIntArray: 1281 case kExternalIntArray:
1282 stream->Add("int"); 1282 stream->Add("int");
1283 break; 1283 break;
1284 case kExternalUnsignedIntArray: 1284 case kExternalUnsignedIntArray:
1285 stream->Add("u_int"); 1285 stream->Add("u_int");
1286 break; 1286 break;
1287 case kExternalFloatArray: 1287 case kExternalFloatArray:
1288 stream->Add("float"); 1288 stream->Add("float");
1289 break; 1289 break;
1290 case kExternalDoubleArray:
1291 stream->Add("double");
1292 break;
1290 case kExternalPixelArray: 1293 case kExternalPixelArray:
1291 stream->Add("pixel"); 1294 stream->Add("pixel");
1292 break; 1295 break;
1293 } 1296 }
1294 stream->Add("["); 1297 stream->Add("[");
1295 key()->PrintNameTo(stream); 1298 key()->PrintNameTo(stream);
1296 stream->Add("]"); 1299 stream->Add("]");
1297 } 1300 }
1298 1301
1299 1302
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
1357 break; 1360 break;
1358 case kExternalIntArray: 1361 case kExternalIntArray:
1359 stream->Add("int"); 1362 stream->Add("int");
1360 break; 1363 break;
1361 case kExternalUnsignedIntArray: 1364 case kExternalUnsignedIntArray:
1362 stream->Add("u_int"); 1365 stream->Add("u_int");
1363 break; 1366 break;
1364 case kExternalFloatArray: 1367 case kExternalFloatArray:
1365 stream->Add("float"); 1368 stream->Add("float");
1366 break; 1369 break;
1370 case kExternalDoubleArray:
1371 stream->Add("double");
1372 break;
1367 case kExternalPixelArray: 1373 case kExternalPixelArray:
1368 stream->Add("pixel"); 1374 stream->Add("pixel");
1369 break; 1375 break;
1370 } 1376 }
1371 stream->Add("["); 1377 stream->Add("[");
1372 key()->PrintNameTo(stream); 1378 key()->PrintNameTo(stream);
1373 stream->Add("] = "); 1379 stream->Add("] = ");
1374 value()->PrintNameTo(stream); 1380 value()->PrintNameTo(stream);
1375 } 1381 }
1376 1382
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
1663 1669
1664 1670
1665 void HCheckPrototypeMaps::Verify() { 1671 void HCheckPrototypeMaps::Verify() {
1666 HInstruction::Verify(); 1672 HInstruction::Verify();
1667 ASSERT(HasNoUses()); 1673 ASSERT(HasNoUses());
1668 } 1674 }
1669 1675
1670 #endif 1676 #endif
1671 1677
1672 } } // namespace v8::internal 1678 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/hydrogen-instructions.h ('k') | src/ia32/lithium-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698