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

Side by Side Diff: src/builtins.h

Issue 26807003: Add a slow stub for store ICs. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 2 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
« no previous file with comments | « no previous file | src/builtins.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 Code::kNoExtraICState) \ 110 Code::kNoExtraICState) \
111 \ 111 \
112 V(LoadIC_Miss, BUILTIN, UNINITIALIZED, \ 112 V(LoadIC_Miss, BUILTIN, UNINITIALIZED, \
113 Code::kNoExtraICState) \ 113 Code::kNoExtraICState) \
114 V(KeyedLoadIC_Miss, BUILTIN, UNINITIALIZED, \ 114 V(KeyedLoadIC_Miss, BUILTIN, UNINITIALIZED, \
115 Code::kNoExtraICState) \ 115 Code::kNoExtraICState) \
116 V(KeyedLoadIC_MissForceGeneric, BUILTIN, UNINITIALIZED, \ 116 V(KeyedLoadIC_MissForceGeneric, BUILTIN, UNINITIALIZED, \
117 Code::kNoExtraICState) \ 117 Code::kNoExtraICState) \
118 V(StoreIC_Miss, BUILTIN, UNINITIALIZED, \ 118 V(StoreIC_Miss, BUILTIN, UNINITIALIZED, \
119 Code::kNoExtraICState) \ 119 Code::kNoExtraICState) \
120 V(StoreIC_Slow, BUILTIN, UNINITIALIZED, \
121 Code::kNoExtraICState) \
122 V(KeyedStoreIC_Miss, BUILTIN, UNINITIALIZED, \ 120 V(KeyedStoreIC_Miss, BUILTIN, UNINITIALIZED, \
123 Code::kNoExtraICState) \ 121 Code::kNoExtraICState) \
124 V(KeyedStoreIC_MissForceGeneric, BUILTIN, UNINITIALIZED, \ 122 V(KeyedStoreIC_MissForceGeneric, BUILTIN, UNINITIALIZED, \
125 Code::kNoExtraICState) \ 123 Code::kNoExtraICState) \
126 V(KeyedStoreIC_Slow, BUILTIN, UNINITIALIZED, \
127 Code::kNoExtraICState) \
128 V(LoadIC_Initialize, LOAD_IC, UNINITIALIZED, \ 124 V(LoadIC_Initialize, LOAD_IC, UNINITIALIZED, \
129 Code::kNoExtraICState) \ 125 Code::kNoExtraICState) \
130 V(LoadIC_PreMonomorphic, LOAD_IC, PREMONOMORPHIC, \ 126 V(LoadIC_PreMonomorphic, LOAD_IC, PREMONOMORPHIC, \
131 Code::kNoExtraICState) \ 127 Code::kNoExtraICState) \
132 V(LoadIC_Megamorphic, LOAD_IC, MEGAMORPHIC, \ 128 V(LoadIC_Megamorphic, LOAD_IC, MEGAMORPHIC, \
133 Code::kNoExtraICState) \ 129 Code::kNoExtraICState) \
134 V(LoadIC_Getter_ForDeopt, LOAD_IC, MONOMORPHIC, \ 130 V(LoadIC_Getter_ForDeopt, LOAD_IC, MONOMORPHIC, \
135 Code::kNoExtraICState) \ 131 Code::kNoExtraICState) \
136 \ 132 \
137 V(KeyedLoadIC_Initialize, KEYED_LOAD_IC, UNINITIALIZED, \ 133 V(KeyedLoadIC_Initialize, KEYED_LOAD_IC, UNINITIALIZED, \
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 V(OsrAfterStackCheck, BUILTIN, UNINITIALIZED, \ 203 V(OsrAfterStackCheck, BUILTIN, UNINITIALIZED, \
208 Code::kNoExtraICState) \ 204 Code::kNoExtraICState) \
209 V(StackCheck, BUILTIN, UNINITIALIZED, \ 205 V(StackCheck, BUILTIN, UNINITIALIZED, \
210 Code::kNoExtraICState) \ 206 Code::kNoExtraICState) \
211 CODE_AGE_LIST_WITH_ARG(DECLARE_CODE_AGE_BUILTIN, V) 207 CODE_AGE_LIST_WITH_ARG(DECLARE_CODE_AGE_BUILTIN, V)
212 208
213 // Define list of builtin handlers implemented in assembly. 209 // Define list of builtin handlers implemented in assembly.
214 #define BUILTIN_LIST_H(V) \ 210 #define BUILTIN_LIST_H(V) \
215 V(LoadIC_Slow, LOAD_IC, Code::kNoExtraICState) \ 211 V(LoadIC_Slow, LOAD_IC, Code::kNoExtraICState) \
216 V(KeyedLoadIC_Slow, KEYED_LOAD_IC, Code::kNoExtraICState) \ 212 V(KeyedLoadIC_Slow, KEYED_LOAD_IC, Code::kNoExtraICState) \
213 V(StoreIC_Slow, STORE_IC, Code::kNoExtraICState) \
214 V(StoreIC_Slow_Strict, STORE_IC, kStrictMode) \
215 V(KeyedStoreIC_Slow, KEYED_STORE_IC, Code::kNoExtraICState)\
216 V(KeyedStoreIC_Slow_Strict, KEYED_STORE_IC, kStrictMode) \
217 V(LoadIC_Normal, LOAD_IC, Code::kNoExtraICState) \ 217 V(LoadIC_Normal, LOAD_IC, Code::kNoExtraICState) \
218 V(StoreIC_Normal, STORE_IC, Code::kNoExtraICState) \ 218 V(StoreIC_Normal, STORE_IC, Code::kNoExtraICState) \
219 V(StoreIC_Normal_Strict, STORE_IC, kStrictMode) 219 V(StoreIC_Normal_Strict, STORE_IC, kStrictMode)
220 220
221 #ifdef ENABLE_DEBUGGER_SUPPORT 221 #ifdef ENABLE_DEBUGGER_SUPPORT
222 // Define list of builtins used by the debugger implemented in assembly. 222 // Define list of builtins used by the debugger implemented in assembly.
223 #define BUILTIN_LIST_DEBUG_A(V) \ 223 #define BUILTIN_LIST_DEBUG_A(V) \
224 V(Return_DebugBreak, BUILTIN, DEBUG_STUB, \ 224 V(Return_DebugBreak, BUILTIN, DEBUG_STUB, \
225 DEBUG_BREAK) \ 225 DEBUG_BREAK) \
226 V(CallFunctionStub_DebugBreak, BUILTIN, DEBUG_STUB, \ 226 V(CallFunctionStub_DebugBreak, BUILTIN, DEBUG_STUB, \
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
419 419
420 friend class BuiltinFunctionTable; 420 friend class BuiltinFunctionTable;
421 friend class Isolate; 421 friend class Isolate;
422 422
423 DISALLOW_COPY_AND_ASSIGN(Builtins); 423 DISALLOW_COPY_AND_ASSIGN(Builtins);
424 }; 424 };
425 425
426 } } // namespace v8::internal 426 } } // namespace v8::internal
427 427
428 #endif // V8_BUILTINS_H_ 428 #endif // V8_BUILTINS_H_
OLDNEW
« no previous file with comments | « no previous file | src/builtins.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698