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

Side by Side Diff: src/builtins.h

Issue 6594037: Strict Mode assignment to read only property. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 9 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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 Code::kNoExtraICState) \ 129 Code::kNoExtraICState) \
130 V(StoreIC_ArrayLength, STORE_IC, MONOMORPHIC, \ 130 V(StoreIC_ArrayLength, STORE_IC, MONOMORPHIC, \
131 Code::kNoExtraICState) \ 131 Code::kNoExtraICState) \
132 V(StoreIC_Normal, STORE_IC, MONOMORPHIC, \ 132 V(StoreIC_Normal, STORE_IC, MONOMORPHIC, \
133 Code::kNoExtraICState) \ 133 Code::kNoExtraICState) \
134 V(StoreIC_Megamorphic, STORE_IC, MEGAMORPHIC, \ 134 V(StoreIC_Megamorphic, STORE_IC, MEGAMORPHIC, \
135 Code::kNoExtraICState) \ 135 Code::kNoExtraICState) \
136 V(StoreIC_GlobalProxy, STORE_IC, MEGAMORPHIC, \ 136 V(StoreIC_GlobalProxy, STORE_IC, MEGAMORPHIC, \
137 Code::kNoExtraICState) \ 137 Code::kNoExtraICState) \
138 V(StoreIC_Initialize_Strict, STORE_IC, UNINITIALIZED, \ 138 V(StoreIC_Initialize_Strict, STORE_IC, UNINITIALIZED, \
139 StoreIC::kStoreICStrict) \ 139 kStrictMode) \
Martin Maly 2011/02/27 23:04:04 I deleted this enum in favor of using StrictModeFl
140 V(StoreIC_ArrayLength_Strict, STORE_IC, MONOMORPHIC, \ 140 V(StoreIC_ArrayLength_Strict, STORE_IC, MONOMORPHIC, \
141 StoreIC::kStoreICStrict) \ 141 kStrictMode) \
142 V(StoreIC_Normal_Strict, STORE_IC, MONOMORPHIC, \ 142 V(StoreIC_Normal_Strict, STORE_IC, MONOMORPHIC, \
143 StoreIC::kStoreICStrict) \ 143 kStrictMode) \
144 V(StoreIC_Megamorphic_Strict, STORE_IC, MEGAMORPHIC, \ 144 V(StoreIC_Megamorphic_Strict, STORE_IC, MEGAMORPHIC, \
145 StoreIC::kStoreICStrict) \ 145 kStrictMode) \
146 V(StoreIC_GlobalProxy_Strict, STORE_IC, MEGAMORPHIC, \ 146 V(StoreIC_GlobalProxy_Strict, STORE_IC, MEGAMORPHIC, \
147 StoreIC::kStoreICStrict) \ 147 kStrictMode) \
148 \ 148 \
149 V(KeyedStoreIC_Initialize, KEYED_STORE_IC, UNINITIALIZED, \ 149 V(KeyedStoreIC_Initialize, KEYED_STORE_IC, UNINITIALIZED, \
150 Code::kNoExtraICState) \ 150 Code::kNoExtraICState) \
151 V(KeyedStoreIC_Generic, KEYED_STORE_IC, MEGAMORPHIC, \ 151 V(KeyedStoreIC_Generic, KEYED_STORE_IC, MEGAMORPHIC, \
152 Code::kNoExtraICState) \ 152 Code::kNoExtraICState) \
153 \ 153 \
154 V(KeyedStoreIC_Initialize_Strict, KEYED_STORE_IC, UNINITIALIZED, \
Mads Ager (chromium) 2011/02/28 12:23:06 This is the reason why I don't like indentation li
Martin Maly 2011/03/01 01:40:29 Done.
155 kStrictMode) \
156 V(KeyedStoreIC_Generic_Strict, KEYED_STORE_IC, MEGAMORPHIC, \
157 kStrictMode) \
158 \
154 /* Uses KeyedLoadIC_Initialize; must be after in list. */ \ 159 /* Uses KeyedLoadIC_Initialize; must be after in list. */ \
155 V(FunctionCall, BUILTIN, UNINITIALIZED, \ 160 V(FunctionCall, BUILTIN, UNINITIALIZED, \
156 Code::kNoExtraICState) \ 161 Code::kNoExtraICState) \
157 V(FunctionApply, BUILTIN, UNINITIALIZED, \ 162 V(FunctionApply, BUILTIN, UNINITIALIZED, \
158 Code::kNoExtraICState) \ 163 Code::kNoExtraICState) \
159 \ 164 \
160 V(ArrayCode, BUILTIN, UNINITIALIZED, \ 165 V(ArrayCode, BUILTIN, UNINITIALIZED, \
161 Code::kNoExtraICState) \ 166 Code::kNoExtraICState) \
162 V(ArrayConstructCode, BUILTIN, UNINITIALIZED, \ 167 V(ArrayConstructCode, BUILTIN, UNINITIALIZED, \
163 Code::kNoExtraICState) \ 168 Code::kNoExtraICState) \
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 static void Generate_ArrayConstructCode(MacroAssembler* masm); 330 static void Generate_ArrayConstructCode(MacroAssembler* masm);
326 331
327 static void Generate_StringConstructCode(MacroAssembler* masm); 332 static void Generate_StringConstructCode(MacroAssembler* masm);
328 333
329 static void Generate_OnStackReplacement(MacroAssembler* masm); 334 static void Generate_OnStackReplacement(MacroAssembler* masm);
330 }; 335 };
331 336
332 } } // namespace v8::internal 337 } } // namespace v8::internal
333 338
334 #endif // V8_BUILTINS_H_ 339 #endif // V8_BUILTINS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698