OLD | NEW |
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...) Loading... |
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_ExternalByteArray, KEYED_LOAD_IC, MEGAMORPHIC) \ | |
97 V(KeyedLoadIC_ExternalUnsignedByteArray, KEYED_LOAD_IC, MEGAMORPHIC) \ | |
98 V(KeyedLoadIC_ExternalShortArray, KEYED_LOAD_IC, MEGAMORPHIC) \ | |
99 V(KeyedLoadIC_ExternalUnsignedShortArray, KEYED_LOAD_IC, MEGAMORPHIC) \ | |
100 V(KeyedLoadIC_ExternalIntArray, KEYED_LOAD_IC, MEGAMORPHIC) \ | |
101 V(KeyedLoadIC_ExternalUnsignedIntArray, KEYED_LOAD_IC, MEGAMORPHIC) \ | |
102 V(KeyedLoadIC_ExternalFloatArray, KEYED_LOAD_IC, MEGAMORPHIC) \ | |
103 V(KeyedLoadIC_IndexedInterceptor, KEYED_LOAD_IC, MEGAMORPHIC) \ | 96 V(KeyedLoadIC_IndexedInterceptor, KEYED_LOAD_IC, MEGAMORPHIC) \ |
104 \ | 97 \ |
105 V(StoreIC_Initialize, STORE_IC, UNINITIALIZED) \ | 98 V(StoreIC_Initialize, STORE_IC, UNINITIALIZED) \ |
106 V(StoreIC_ArrayLength, STORE_IC, MONOMORPHIC) \ | 99 V(StoreIC_ArrayLength, STORE_IC, MONOMORPHIC) \ |
107 V(StoreIC_Normal, STORE_IC, MONOMORPHIC) \ | 100 V(StoreIC_Normal, STORE_IC, MONOMORPHIC) \ |
108 V(StoreIC_Megamorphic, STORE_IC, MEGAMORPHIC) \ | 101 V(StoreIC_Megamorphic, STORE_IC, MEGAMORPHIC) \ |
109 V(StoreIC_GlobalProxy, STORE_IC, MEGAMORPHIC) \ | 102 V(StoreIC_GlobalProxy, STORE_IC, MEGAMORPHIC) \ |
110 \ | 103 \ |
111 V(KeyedStoreIC_Initialize, KEYED_STORE_IC, UNINITIALIZED) \ | 104 V(KeyedStoreIC_Initialize, KEYED_STORE_IC, UNINITIALIZED) \ |
112 V(KeyedStoreIC_Generic, KEYED_STORE_IC, MEGAMORPHIC) \ | 105 V(KeyedStoreIC_Generic, KEYED_STORE_IC, MEGAMORPHIC) \ |
113 V(KeyedStoreIC_ExternalByteArray, KEYED_STORE_IC, MEGAMORPHIC) \ | |
114 V(KeyedStoreIC_ExternalUnsignedByteArray, KEYED_STORE_IC, MEGAMORPHIC) \ | |
115 V(KeyedStoreIC_ExternalShortArray, KEYED_STORE_IC, MEGAMORPHIC) \ | |
116 V(KeyedStoreIC_ExternalUnsignedShortArray, KEYED_STORE_IC, MEGAMORPHIC) \ | |
117 V(KeyedStoreIC_ExternalIntArray, KEYED_STORE_IC, MEGAMORPHIC) \ | |
118 V(KeyedStoreIC_ExternalUnsignedIntArray, KEYED_STORE_IC, MEGAMORPHIC) \ | |
119 V(KeyedStoreIC_ExternalFloatArray, KEYED_STORE_IC, MEGAMORPHIC) \ | |
120 \ | 106 \ |
121 /* Uses KeyedLoadIC_Initialize; must be after in list. */ \ | 107 /* Uses KeyedLoadIC_Initialize; must be after in list. */ \ |
122 V(FunctionCall, BUILTIN, UNINITIALIZED) \ | 108 V(FunctionCall, BUILTIN, UNINITIALIZED) \ |
123 V(FunctionApply, BUILTIN, UNINITIALIZED) \ | 109 V(FunctionApply, BUILTIN, UNINITIALIZED) \ |
124 \ | 110 \ |
125 V(ArrayCode, BUILTIN, UNINITIALIZED) \ | 111 V(ArrayCode, BUILTIN, UNINITIALIZED) \ |
126 V(ArrayConstructCode, BUILTIN, UNINITIALIZED) \ | 112 V(ArrayConstructCode, BUILTIN, UNINITIALIZED) \ |
127 \ | 113 \ |
128 V(StringConstructCode, BUILTIN, UNINITIALIZED) \ | 114 V(StringConstructCode, BUILTIN, UNINITIALIZED) \ |
129 \ | 115 \ |
(...skipping 146 matching lines...) Loading... |
276 static void Generate_ArrayConstructCode(MacroAssembler* masm); | 262 static void Generate_ArrayConstructCode(MacroAssembler* masm); |
277 | 263 |
278 static void Generate_StringConstructCode(MacroAssembler* masm); | 264 static void Generate_StringConstructCode(MacroAssembler* masm); |
279 | 265 |
280 static void Generate_OnStackReplacement(MacroAssembler* masm); | 266 static void Generate_OnStackReplacement(MacroAssembler* masm); |
281 }; | 267 }; |
282 | 268 |
283 } } // namespace v8::internal | 269 } } // namespace v8::internal |
284 | 270 |
285 #endif // V8_BUILTINS_H_ | 271 #endif // V8_BUILTINS_H_ |
OLD | NEW |