OLD | NEW |
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 #include "src/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #include "src/ic/call-optimization.h" | 7 #include "src/ic/call-optimization.h" |
8 #include "src/ic/handler-compiler.h" | 8 #include "src/ic/handler-compiler.h" |
9 #include "src/ic/ic-inl.h" | 9 #include "src/ic/ic-inl.h" |
10 | 10 |
(...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
381 cached_stub = isolate()->builtins()->KeyedLoadIC_SloppyArguments(); | 381 cached_stub = isolate()->builtins()->KeyedLoadIC_SloppyArguments(); |
382 } else { | 382 } else { |
383 DCHECK(elements_kind == DICTIONARY_ELEMENTS); | 383 DCHECK(elements_kind == DICTIONARY_ELEMENTS); |
384 cached_stub = LoadDictionaryElementStub(isolate()).GetCode(); | 384 cached_stub = LoadDictionaryElementStub(isolate()).GetCode(); |
385 } | 385 } |
386 } | 386 } |
387 | 387 |
388 handlers->Add(cached_stub); | 388 handlers->Add(cached_stub); |
389 } | 389 } |
390 } | 390 } |
391 | |
392 | |
393 void ElementHandlerCompiler::GenerateStoreDictionaryElement( | |
394 MacroAssembler* masm) { | |
395 KeyedStoreIC::GenerateSlow(masm); | |
396 } | |
397 } | 391 } |
398 } // namespace v8::internal | 392 } // namespace v8::internal |
OLD | NEW |