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

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: 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
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 1252 matching lines...) Expand 10 before | Expand all | Expand 10 after
1263 break; 1263 break;
1264 case kExternalIntArray: 1264 case kExternalIntArray:
1265 stream->Add("int"); 1265 stream->Add("int");
1266 break; 1266 break;
1267 case kExternalUnsignedIntArray: 1267 case kExternalUnsignedIntArray:
1268 stream->Add("u_int"); 1268 stream->Add("u_int");
1269 break; 1269 break;
1270 case kExternalFloatArray: 1270 case kExternalFloatArray:
1271 stream->Add("float"); 1271 stream->Add("float");
1272 break; 1272 break;
1273 case kExternalDoubleArray:
1274 stream->Add("double");
1275 break;
1273 case kExternalPixelArray: 1276 case kExternalPixelArray:
1274 stream->Add("pixel"); 1277 stream->Add("pixel");
1275 break; 1278 break;
1276 } 1279 }
1277 stream->Add("["); 1280 stream->Add("[");
1278 key()->PrintNameTo(stream); 1281 key()->PrintNameTo(stream);
1279 stream->Add("]"); 1282 stream->Add("]");
1280 } 1283 }
1281 1284
1282 1285
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
1340 break; 1343 break;
1341 case kExternalIntArray: 1344 case kExternalIntArray:
1342 stream->Add("int"); 1345 stream->Add("int");
1343 break; 1346 break;
1344 case kExternalUnsignedIntArray: 1347 case kExternalUnsignedIntArray:
1345 stream->Add("u_int"); 1348 stream->Add("u_int");
1346 break; 1349 break;
1347 case kExternalFloatArray: 1350 case kExternalFloatArray:
1348 stream->Add("float"); 1351 stream->Add("float");
1349 break; 1352 break;
1353 case kExternalDoubleArray:
1354 stream->Add("double");
1355 break;
1350 case kExternalPixelArray: 1356 case kExternalPixelArray:
1351 stream->Add("pixel"); 1357 stream->Add("pixel");
1352 break; 1358 break;
1353 } 1359 }
1354 stream->Add("["); 1360 stream->Add("[");
1355 key()->PrintNameTo(stream); 1361 key()->PrintNameTo(stream);
1356 stream->Add("] = "); 1362 stream->Add("] = ");
1357 value()->PrintNameTo(stream); 1363 value()->PrintNameTo(stream);
1358 } 1364 }
1359 1365
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
1646 1652
1647 1653
1648 void HCheckPrototypeMaps::Verify() { 1654 void HCheckPrototypeMaps::Verify() {
1649 HInstruction::Verify(); 1655 HInstruction::Verify();
1650 ASSERT(HasNoUses()); 1656 ASSERT(HasNoUses());
1651 } 1657 }
1652 1658
1653 #endif 1659 #endif
1654 1660
1655 } } // namespace v8::internal 1661 } } // namespace v8::internal
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698