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