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

Side by Side Diff: src/ic/s390/handler-compiler-s390.cc

Issue 1846963002: Use a dictionary-mode code cache on the map rather than a dual system. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Addressed comment Created 4 years, 8 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/ppc/stub-cache-ppc.cc ('k') | src/ic/s390/ic-s390.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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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 #if V8_TARGET_ARCH_S390 5 #if V8_TARGET_ARCH_S390
6 6
7 #include "src/ic/handler-compiler.h" 7 #include "src/ic/handler-compiler.h"
8 8
9 #include "src/api-arguments.h" 9 #include "src/api-arguments.h"
10 #include "src/field-type.h" 10 #include "src/field-type.h"
(...skipping 685 matching lines...) Expand 10 before | Expand all | Expand 10 after
696 } 696 }
697 __ Push(ip); 697 __ Push(ip);
698 __ mov(ip, Operand(name)); 698 __ mov(ip, Operand(name));
699 __ Push(ip, value()); 699 __ Push(ip, value());
700 __ Push(Smi::FromInt(language_mode)); 700 __ Push(Smi::FromInt(language_mode));
701 701
702 // Do tail-call to the runtime system. 702 // Do tail-call to the runtime system.
703 __ TailCallRuntime(Runtime::kStoreCallbackProperty); 703 __ TailCallRuntime(Runtime::kStoreCallbackProperty);
704 704
705 // Return the generated code. 705 // Return the generated code.
706 return GetCode(kind(), Code::FAST, name); 706 return GetCode(kind(), name);
707 } 707 }
708 708
709 Register NamedStoreHandlerCompiler::value() { 709 Register NamedStoreHandlerCompiler::value() {
710 return StoreDescriptor::ValueRegister(); 710 return StoreDescriptor::ValueRegister();
711 } 711 }
712 712
713 Handle<Code> NamedLoadHandlerCompiler::CompileLoadGlobal( 713 Handle<Code> NamedLoadHandlerCompiler::CompileLoadGlobal(
714 Handle<PropertyCell> cell, Handle<Name> name, bool is_configurable) { 714 Handle<PropertyCell> cell, Handle<Name> name, bool is_configurable) {
715 Label miss; 715 Label miss;
716 if (IC::ICUseVector(kind())) { 716 if (IC::ICUseVector(kind())) {
(...skipping 16 matching lines...) Expand all
733 Counters* counters = isolate()->counters(); 733 Counters* counters = isolate()->counters();
734 __ IncrementCounter(counters->ic_named_load_global_stub(), 1, r3, r5); 734 __ IncrementCounter(counters->ic_named_load_global_stub(), 1, r3, r5);
735 if (IC::ICUseVector(kind())) { 735 if (IC::ICUseVector(kind())) {
736 DiscardVectorAndSlot(); 736 DiscardVectorAndSlot();
737 } 737 }
738 __ Ret(); 738 __ Ret();
739 739
740 FrontendFooter(name, &miss); 740 FrontendFooter(name, &miss);
741 741
742 // Return the generated code. 742 // Return the generated code.
743 return GetCode(kind(), Code::NORMAL, name); 743 return GetCode(kind(), name);
744 } 744 }
745 745
746 #undef __ 746 #undef __
747 } // namespace internal 747 } // namespace internal
748 } // namespace v8 748 } // namespace v8
749 749
750 #endif // V8_TARGET_ARCH_ARM 750 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/ic/ppc/stub-cache-ppc.cc ('k') | src/ic/s390/ic-s390.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698