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

Unified Diff: src/ic.h

Issue 6323002: Add custom typed ICs for pixel array loads. (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/ia32/ic-ia32.cc ('k') | src/ic.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ic.h
===================================================================
--- src/ic.h (revision 6525)
+++ src/ic.h (working copy)
@@ -348,6 +348,9 @@
static void GenerateIndexedInterceptor(MacroAssembler* masm);
+ // Generator for loading bytes from a pixel array.
+ static void GeneratePixelArray(MacroAssembler* masm);
+
// Clear the use of the inlined version.
static void ClearInlinedVersion(Address address);
@@ -382,6 +385,9 @@
return Builtins::builtin(Builtins::KeyedLoadIC_String);
}
+ static Code* pixel_array_stub() {
+ return Builtins::builtin(Builtins::KeyedLoadIC_PixelArray);
+ }
static Code* indexed_interceptor_stub() {
return Builtins::builtin(Builtins::KeyedLoadIC_IndexedInterceptor);
}
« no previous file with comments | « src/ia32/ic-ia32.cc ('k') | src/ic.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698