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

Side by Side Diff: src/ic/handler-compiler.h

Issue 1587073003: Array length reduction should throw in strict mode if it can't delete an element. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebasing for relanding Created 4 years, 11 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
« no previous file with comments | « src/ic/arm64/handler-compiler-arm64.cc ('k') | src/ic/ia32/handler-compiler-ia32.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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_IC_HANDLER_COMPILER_H_ 5 #ifndef V8_IC_HANDLER_COMPILER_H_
6 #define V8_IC_HANDLER_COMPILER_H_ 6 #define V8_IC_HANDLER_COMPILER_H_
7 7
8 #include "src/ic/access-compiler.h" 8 #include "src/ic/access-compiler.h"
9 #include "src/ic/ic-state.h" 9 #include "src/ic/ic-state.h"
10 10
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 Handle<JSObject> holder) 216 Handle<JSObject> holder)
217 : PropertyHandlerCompiler(isolate, Code::STORE_IC, map, holder, 217 : PropertyHandlerCompiler(isolate, Code::STORE_IC, map, holder,
218 kCacheOnReceiver) {} 218 kCacheOnReceiver) {}
219 219
220 virtual ~NamedStoreHandlerCompiler() {} 220 virtual ~NamedStoreHandlerCompiler() {}
221 221
222 Handle<Code> CompileStoreTransition(Handle<Map> transition, 222 Handle<Code> CompileStoreTransition(Handle<Map> transition,
223 Handle<Name> name); 223 Handle<Name> name);
224 Handle<Code> CompileStoreField(LookupIterator* it); 224 Handle<Code> CompileStoreField(LookupIterator* it);
225 Handle<Code> CompileStoreCallback(Handle<JSObject> object, Handle<Name> name, 225 Handle<Code> CompileStoreCallback(Handle<JSObject> object, Handle<Name> name,
226 Handle<AccessorInfo> callback); 226 Handle<AccessorInfo> callback,
227 LanguageMode language_mode);
227 Handle<Code> CompileStoreCallback(Handle<JSObject> object, Handle<Name> name, 228 Handle<Code> CompileStoreCallback(Handle<JSObject> object, Handle<Name> name,
228 const CallOptimization& call_optimization, 229 const CallOptimization& call_optimization,
229 int accessor_index); 230 int accessor_index);
230 Handle<Code> CompileStoreViaSetter(Handle<JSObject> object, Handle<Name> name, 231 Handle<Code> CompileStoreViaSetter(Handle<JSObject> object, Handle<Name> name,
231 int accessor_index, 232 int accessor_index,
232 int expected_arguments); 233 int expected_arguments);
233 Handle<Code> CompileStoreInterceptor(Handle<Name> name); 234 Handle<Code> CompileStoreInterceptor(Handle<Name> name);
234 235
235 static void GenerateStoreViaSetter(MacroAssembler* masm, Handle<Map> map, 236 static void GenerateStoreViaSetter(MacroAssembler* masm, Handle<Map> map,
236 Register receiver, Register holder, 237 Register receiver, Register holder,
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 void CompileElementHandlers(MapHandleList* receiver_maps, 297 void CompileElementHandlers(MapHandleList* receiver_maps,
297 CodeHandleList* handlers, 298 CodeHandleList* handlers,
298 LanguageMode language_mode); 299 LanguageMode language_mode);
299 300
300 static void GenerateStoreSlow(MacroAssembler* masm); 301 static void GenerateStoreSlow(MacroAssembler* masm);
301 }; 302 };
302 } // namespace internal 303 } // namespace internal
303 } // namespace v8 304 } // namespace v8
304 305
305 #endif // V8_IC_HANDLER_COMPILER_H_ 306 #endif // V8_IC_HANDLER_COMPILER_H_
OLDNEW
« no previous file with comments | « src/ic/arm64/handler-compiler-arm64.cc ('k') | src/ic/ia32/handler-compiler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698