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

Side by Side Diff: src/builtins.h

Issue 458813002: Prototype implementation of GET_OWN_PROPERTY intrinsic. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 4 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 | « src/ast.h ('k') | 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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_BUILTINS_H_ 5 #ifndef V8_BUILTINS_H_
6 #define V8_BUILTINS_H_ 6 #define V8_BUILTINS_H_
7 7
8 namespace v8 { 8 namespace v8 {
9 namespace internal { 9 namespace internal {
10 10
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 V(StoreIC_Miss, BUILTIN, UNINITIALIZED, \ 100 V(StoreIC_Miss, BUILTIN, UNINITIALIZED, \
101 kNoExtraICState) \ 101 kNoExtraICState) \
102 V(KeyedStoreIC_Miss, BUILTIN, UNINITIALIZED, \ 102 V(KeyedStoreIC_Miss, BUILTIN, UNINITIALIZED, \
103 kNoExtraICState) \ 103 kNoExtraICState) \
104 V(LoadIC_Getter_ForDeopt, LOAD_IC, MONOMORPHIC, \ 104 V(LoadIC_Getter_ForDeopt, LOAD_IC, MONOMORPHIC, \
105 kNoExtraICState) \ 105 kNoExtraICState) \
106 V(KeyedLoadIC_Initialize, KEYED_LOAD_IC, UNINITIALIZED, \ 106 V(KeyedLoadIC_Initialize, KEYED_LOAD_IC, UNINITIALIZED, \
107 kNoExtraICState) \ 107 kNoExtraICState) \
108 V(KeyedLoadIC_PreMonomorphic, KEYED_LOAD_IC, PREMONOMORPHIC, \ 108 V(KeyedLoadIC_PreMonomorphic, KEYED_LOAD_IC, PREMONOMORPHIC, \
109 kNoExtraICState) \ 109 kNoExtraICState) \
110 V(KeyedLoadIC_Generic, KEYED_LOAD_IC, GENERIC, \
111 kNoExtraICState) \
112 V(KeyedLoadIC_String, KEYED_LOAD_IC, MEGAMORPHIC, \ 110 V(KeyedLoadIC_String, KEYED_LOAD_IC, MEGAMORPHIC, \
113 kNoExtraICState) \ 111 kNoExtraICState) \
114 V(KeyedLoadIC_IndexedInterceptor, KEYED_LOAD_IC, MONOMORPHIC, \ 112 V(KeyedLoadIC_IndexedInterceptor, KEYED_LOAD_IC, MONOMORPHIC, \
115 kNoExtraICState) \ 113 kNoExtraICState) \
116 V(KeyedLoadIC_SloppyArguments, KEYED_LOAD_IC, MONOMORPHIC, \ 114 V(KeyedLoadIC_SloppyArguments, KEYED_LOAD_IC, MONOMORPHIC, \
117 kNoExtraICState) \ 115 kNoExtraICState) \
118 \ 116 \
119 V(StoreIC_Setter_ForDeopt, STORE_IC, MONOMORPHIC, \ 117 V(StoreIC_Setter_ForDeopt, STORE_IC, MONOMORPHIC, \
120 StoreIC::kStrictModeState) \ 118 StoreIC::kStrictModeState) \
121 \ 119 \
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 \ 158 \
161 V(MarkCodeAsExecutedOnce, BUILTIN, UNINITIALIZED, \ 159 V(MarkCodeAsExecutedOnce, BUILTIN, UNINITIALIZED, \
162 kNoExtraICState) \ 160 kNoExtraICState) \
163 V(MarkCodeAsExecutedTwice, BUILTIN, UNINITIALIZED, \ 161 V(MarkCodeAsExecutedTwice, BUILTIN, UNINITIALIZED, \
164 kNoExtraICState) \ 162 kNoExtraICState) \
165 CODE_AGE_LIST_WITH_ARG(DECLARE_CODE_AGE_BUILTIN, V) 163 CODE_AGE_LIST_WITH_ARG(DECLARE_CODE_AGE_BUILTIN, V)
166 164
167 // Define list of builtin handlers implemented in assembly. 165 // Define list of builtin handlers implemented in assembly.
168 #define BUILTIN_LIST_H(V) \ 166 #define BUILTIN_LIST_H(V) \
169 V(LoadIC_Slow, LOAD_IC) \ 167 V(LoadIC_Slow, LOAD_IC) \
168 V(LoadICOwn_Slow, LOAD_IC) \
170 V(KeyedLoadIC_Slow, KEYED_LOAD_IC) \ 169 V(KeyedLoadIC_Slow, KEYED_LOAD_IC) \
170 V(KeyedLoadICOwn_Slow, KEYED_LOAD_IC) \
171 V(StoreIC_Slow, STORE_IC) \ 171 V(StoreIC_Slow, STORE_IC) \
172 V(KeyedStoreIC_Slow, KEYED_STORE_IC) \ 172 V(KeyedStoreIC_Slow, KEYED_STORE_IC) \
173 V(LoadIC_Normal, LOAD_IC) \ 173 V(LoadIC_Normal, LOAD_IC) \
174 V(StoreIC_Normal, STORE_IC) 174 V(StoreIC_Normal, STORE_IC)
175 175
176 // Define list of builtins used by the debugger implemented in assembly. 176 // Define list of builtins used by the debugger implemented in assembly.
177 #define BUILTIN_LIST_DEBUG_A(V) \ 177 #define BUILTIN_LIST_DEBUG_A(V) \
178 V(Return_DebugBreak, BUILTIN, DEBUG_STUB, \ 178 V(Return_DebugBreak, BUILTIN, DEBUG_STUB, \
179 DEBUG_BREAK) \ 179 DEBUG_BREAK) \
180 V(CallFunctionStub_DebugBreak, BUILTIN, DEBUG_STUB, \ 180 V(CallFunctionStub_DebugBreak, BUILTIN, DEBUG_STUB, \
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
378 378
379 friend class BuiltinFunctionTable; 379 friend class BuiltinFunctionTable;
380 friend class Isolate; 380 friend class Isolate;
381 381
382 DISALLOW_COPY_AND_ASSIGN(Builtins); 382 DISALLOW_COPY_AND_ASSIGN(Builtins);
383 }; 383 };
384 384
385 } } // namespace v8::internal 385 } } // namespace v8::internal
386 386
387 #endif // V8_BUILTINS_H_ 387 #endif // V8_BUILTINS_H_
OLDNEW
« no previous file with comments | « src/ast.h ('k') | src/builtins.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698