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

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, 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_StringWrapperLength, LOAD_IC, MONOMORPHIC) \ 89 V(LoadIC_StringWrapperLength, LOAD_IC, MONOMORPHIC) \
90 V(LoadIC_FunctionPrototype, LOAD_IC, MONOMORPHIC) \ 90 V(LoadIC_FunctionPrototype, LOAD_IC, MONOMORPHIC) \
91 V(LoadIC_Megamorphic, LOAD_IC, MEGAMORPHIC) \ 91 V(LoadIC_Megamorphic, LOAD_IC, MEGAMORPHIC) \
92 \ 92 \
93 V(KeyedLoadIC_Initialize, KEYED_LOAD_IC, UNINITIALIZED) \ 93 V(KeyedLoadIC_Initialize, KEYED_LOAD_IC, UNINITIALIZED) \
94 V(KeyedLoadIC_PreMonomorphic, KEYED_LOAD_IC, PREMONOMORPHIC) \ 94 V(KeyedLoadIC_PreMonomorphic, KEYED_LOAD_IC, PREMONOMORPHIC) \
95 V(KeyedLoadIC_Generic, KEYED_LOAD_IC, MEGAMORPHIC) \ 95 V(KeyedLoadIC_Generic, KEYED_LOAD_IC, MEGAMORPHIC) \
96 V(KeyedLoadIC_String, KEYED_LOAD_IC, MEGAMORPHIC) \ 96 V(KeyedLoadIC_String, KEYED_LOAD_IC, MEGAMORPHIC) \
97 V(KeyedLoadIC_PixelArray, KEYED_LOAD_IC, MONOMORPHIC) \
97 V(KeyedLoadIC_IndexedInterceptor, KEYED_LOAD_IC, MEGAMORPHIC) \ 98 V(KeyedLoadIC_IndexedInterceptor, KEYED_LOAD_IC, MEGAMORPHIC) \
98 \ 99 \
99 V(StoreIC_Initialize, STORE_IC, UNINITIALIZED) \ 100 V(StoreIC_Initialize, STORE_IC, UNINITIALIZED) \
100 V(StoreIC_ArrayLength, STORE_IC, MONOMORPHIC) \ 101 V(StoreIC_ArrayLength, STORE_IC, MONOMORPHIC) \
101 V(StoreIC_Normal, STORE_IC, MONOMORPHIC) \ 102 V(StoreIC_Normal, STORE_IC, MONOMORPHIC) \
102 V(StoreIC_Megamorphic, STORE_IC, MEGAMORPHIC) \ 103 V(StoreIC_Megamorphic, STORE_IC, MEGAMORPHIC) \
103 V(StoreIC_GlobalProxy, STORE_IC, MEGAMORPHIC) \ 104 V(StoreIC_GlobalProxy, STORE_IC, MEGAMORPHIC) \
104 \ 105 \
105 V(KeyedStoreIC_Initialize, KEYED_STORE_IC, UNINITIALIZED) \ 106 V(KeyedStoreIC_Initialize, KEYED_STORE_IC, UNINITIALIZED) \
106 V(KeyedStoreIC_Generic, KEYED_STORE_IC, MEGAMORPHIC) \ 107 V(KeyedStoreIC_Generic, KEYED_STORE_IC, MEGAMORPHIC) \
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 static void Generate_ArrayConstructCode(MacroAssembler* masm); 264 static void Generate_ArrayConstructCode(MacroAssembler* masm);
264 265
265 static void Generate_StringConstructCode(MacroAssembler* masm); 266 static void Generate_StringConstructCode(MacroAssembler* masm);
266 267
267 static void Generate_OnStackReplacement(MacroAssembler* masm); 268 static void Generate_OnStackReplacement(MacroAssembler* masm);
268 }; 269 };
269 270
270 } } // namespace v8::internal 271 } } // namespace v8::internal
271 272
272 #endif // V8_BUILTINS_H_ 273 #endif // V8_BUILTINS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698