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

Side by Side Diff: src/ia32/code-stubs-ia32.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 472 matching lines...) Expand 10 before | Expand all | Expand 10 after
483 const char* GetName() { return "NumberToStringStub"; } 483 const char* GetName() { return "NumberToStringStub"; }
484 484
485 #ifdef DEBUG 485 #ifdef DEBUG
486 void Print() { 486 void Print() {
487 PrintF("NumberToStringStub\n"); 487 PrintF("NumberToStringStub\n");
488 } 488 }
489 #endif 489 #endif
490 }; 490 };
491 491
492 492
493 // Loads a indexed element from a pixel array.
494 void GenerateFastPixelArrayLoad(MacroAssembler* masm,
495 Register receiver,
496 Register key,
497 Register elements,
498 Register untagged_key,
499 Register result,
500 Label* not_pixel_array,
501 Label* key_not_smi,
502 Label* out_of_range);
503
504
493 } } // namespace v8::internal 505 } } // namespace v8::internal
494 506
495 #endif // V8_IA32_CODE_STUBS_IA32_H_ 507 #endif // V8_IA32_CODE_STUBS_IA32_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698