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

Side by Side Diff: src/x64/code-stubs-x64.h

Issue 6287030: Create specialized code stubs for PixelArray loads. (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: cleanup before review Created 9 years, 10 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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 429 matching lines...) Expand 10 before | Expand all | Expand 10 after
440 const char* GetName() { return "NumberToStringStub"; } 440 const char* GetName() { return "NumberToStringStub"; }
441 441
442 #ifdef DEBUG 442 #ifdef DEBUG
443 void Print() { 443 void Print() {
444 PrintF("NumberToStringStub\n"); 444 PrintF("NumberToStringStub\n");
445 } 445 }
446 #endif 446 #endif
447 }; 447 };
448 448
449 449
450 // Loads a indexed element from a pixel array.
451 void GenerateFastPixelArrayLoad(MacroAssembler* masm,
452 Register receiver,
453 Register key,
454 Register elements,
455 Register untagged_key,
456 Register result,
457 Label* not_pixel_array,
458 Label* key_not_smi,
459 Label* out_of_range);
460
461
450 } } // namespace v8::internal 462 } } // namespace v8::internal
451 463
452 #endif // V8_X64_CODE_STUBS_X64_H_ 464 #endif // V8_X64_CODE_STUBS_X64_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698