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

Side by Side Diff: src/stub-cache.h

Issue 6576024: (early draft) Strict mode - throw exception on assignment to read only property. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 10 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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 Map* transition = NULL); 174 Map* transition = NULL);
175 175
176 MUST_USE_RESULT static MaybeObject* ComputeKeyedStoreSpecialized( 176 MUST_USE_RESULT static MaybeObject* ComputeKeyedStoreSpecialized(
177 JSObject* receiver); 177 JSObject* receiver);
178 178
179 MUST_USE_RESULT static MaybeObject* ComputeKeyedStorePixelArray( 179 MUST_USE_RESULT static MaybeObject* ComputeKeyedStorePixelArray(
180 JSObject* receiver); 180 JSObject* receiver);
181 181
182 MUST_USE_RESULT static MaybeObject* ComputeKeyedLoadOrStoreExternalArray( 182 MUST_USE_RESULT static MaybeObject* ComputeKeyedLoadOrStoreExternalArray(
183 JSObject* receiver, 183 JSObject* receiver,
184 bool is_store); 184 bool is_store,
185 Code::ExtraICState extra_ic_state);
Martin Maly 2011/02/24 06:33:34 I am leaning toward changing all of these to Stric
Lasse Reichstein 2011/02/24 12:37:54 Agree. If the extra IC state is just the one bit,
185 186
186 // --- 187 // ---
187 188
188 MUST_USE_RESULT static MaybeObject* ComputeCallField(int argc, 189 MUST_USE_RESULT static MaybeObject* ComputeCallField(int argc,
189 InLoopFlag in_loop, 190 InLoopFlag in_loop,
190 Code::Kind, 191 Code::Kind,
191 String* name, 192 String* name,
192 Object* object, 193 Object* object,
193 JSObject* holder, 194 JSObject* holder,
194 int index); 195 int index);
(...skipping 636 matching lines...) Expand 10 before | Expand all | Expand 10 after
831 MUST_USE_RESULT MaybeObject* CompileKeyedStoreStub( 832 MUST_USE_RESULT MaybeObject* CompileKeyedStoreStub(
832 ExternalArrayType array_type, Code::Flags flags); 833 ExternalArrayType array_type, Code::Flags flags);
833 834
834 private: 835 private:
835 MaybeObject* GetCode(Code::Flags flags); 836 MaybeObject* GetCode(Code::Flags flags);
836 }; 837 };
837 838
838 } } // namespace v8::internal 839 } } // namespace v8::internal
839 840
840 #endif // V8_STUB_CACHE_H_ 841 #endif // V8_STUB_CACHE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698