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

Side by Side Diff: src/builtins.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 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 V(LoadIC_Normal, LOAD_IC, MONOMORPHIC) \ 86 V(LoadIC_Normal, LOAD_IC, MONOMORPHIC) \
87 V(LoadIC_ArrayLength, LOAD_IC, MONOMORPHIC) \ 87 V(LoadIC_ArrayLength, LOAD_IC, MONOMORPHIC) \
88 V(LoadIC_StringLength, LOAD_IC, MONOMORPHIC) \ 88 V(LoadIC_StringLength, LOAD_IC, MONOMORPHIC) \
89 V(LoadIC_FunctionPrototype, LOAD_IC, MONOMORPHIC) \ 89 V(LoadIC_FunctionPrototype, LOAD_IC, MONOMORPHIC) \
90 V(LoadIC_Megamorphic, LOAD_IC, MEGAMORPHIC) \ 90 V(LoadIC_Megamorphic, LOAD_IC, MEGAMORPHIC) \
91 \ 91 \
92 V(KeyedLoadIC_Initialize, KEYED_LOAD_IC, UNINITIALIZED) \ 92 V(KeyedLoadIC_Initialize, KEYED_LOAD_IC, UNINITIALIZED) \
93 V(KeyedLoadIC_PreMonomorphic, KEYED_LOAD_IC, PREMONOMORPHIC) \ 93 V(KeyedLoadIC_PreMonomorphic, KEYED_LOAD_IC, PREMONOMORPHIC) \
94 V(KeyedLoadIC_Generic, KEYED_LOAD_IC, MEGAMORPHIC) \ 94 V(KeyedLoadIC_Generic, KEYED_LOAD_IC, MEGAMORPHIC) \
95 V(KeyedLoadIC_String, KEYED_LOAD_IC, MEGAMORPHIC) \ 95 V(KeyedLoadIC_String, KEYED_LOAD_IC, MEGAMORPHIC) \
96 V(KeyedLoadIC_PixelArray, KEYED_LOAD_IC, MONOMORPHIC) \
96 V(KeyedLoadIC_IndexedInterceptor, KEYED_LOAD_IC, MEGAMORPHIC) \ 97 V(KeyedLoadIC_IndexedInterceptor, KEYED_LOAD_IC, MEGAMORPHIC) \
97 \ 98 \
98 V(StoreIC_Initialize, STORE_IC, UNINITIALIZED) \ 99 V(StoreIC_Initialize, STORE_IC, UNINITIALIZED) \
99 V(StoreIC_ArrayLength, STORE_IC, MONOMORPHIC) \ 100 V(StoreIC_ArrayLength, STORE_IC, MONOMORPHIC) \
100 V(StoreIC_Normal, STORE_IC, MONOMORPHIC) \ 101 V(StoreIC_Normal, STORE_IC, MONOMORPHIC) \
101 V(StoreIC_Megamorphic, STORE_IC, MEGAMORPHIC) \ 102 V(StoreIC_Megamorphic, STORE_IC, MEGAMORPHIC) \
102 V(StoreIC_GlobalProxy, STORE_IC, MEGAMORPHIC) \ 103 V(StoreIC_GlobalProxy, STORE_IC, MEGAMORPHIC) \
103 \ 104 \
104 V(KeyedStoreIC_Initialize, KEYED_STORE_IC, UNINITIALIZED) \ 105 V(KeyedStoreIC_Initialize, KEYED_STORE_IC, UNINITIALIZED) \
105 V(KeyedStoreIC_Generic, KEYED_STORE_IC, MEGAMORPHIC) \ 106 V(KeyedStoreIC_Generic, KEYED_STORE_IC, MEGAMORPHIC) \
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 static void Generate_ArrayConstructCode(MacroAssembler* masm); 263 static void Generate_ArrayConstructCode(MacroAssembler* masm);
263 264
264 static void Generate_StringConstructCode(MacroAssembler* masm); 265 static void Generate_StringConstructCode(MacroAssembler* masm);
265 266
266 static void Generate_OnStackReplacement(MacroAssembler* masm); 267 static void Generate_OnStackReplacement(MacroAssembler* masm);
267 }; 268 };
268 269
269 } } // namespace v8::internal 270 } } // namespace v8::internal
270 271
271 #endif // V8_BUILTINS_H_ 272 #endif // V8_BUILTINS_H_
OLDNEW
« src/arm/ic-arm.cc ('K') | « src/arm/ic-arm.cc ('k') | src/builtins.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698