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

Side by Side Diff: src/code-stubs.h

Issue 2448463002: [regexp] Remove unused code (Closed)
Patch Set: Created 4 years, 1 month 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/code-factory.cc ('k') | src/code-stubs.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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_CODE_STUBS_H_ 5 #ifndef V8_CODE_STUBS_H_
6 #define V8_CODE_STUBS_H_ 6 #define V8_CODE_STUBS_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/assembler.h" 9 #include "src/assembler.h"
10 #include "src/code-stub-assembler.h" 10 #include "src/code-stub-assembler.h"
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 V(LoadConstant) \ 71 V(LoadConstant) \
72 V(LoadDictionaryElement) \ 72 V(LoadDictionaryElement) \
73 V(LoadFastElement) \ 73 V(LoadFastElement) \
74 V(LoadField) \ 74 V(LoadField) \
75 /* These should never be ported to TF */ \ 75 /* These should never be ported to TF */ \
76 /* because they are either used only by */ \ 76 /* because they are either used only by */ \
77 /* FCG/Crankshaft or are deprecated */ \ 77 /* FCG/Crankshaft or are deprecated */ \
78 V(BinaryOpIC) \ 78 V(BinaryOpIC) \
79 V(BinaryOpWithAllocationSite) \ 79 V(BinaryOpWithAllocationSite) \
80 V(ToBooleanIC) \ 80 V(ToBooleanIC) \
81 V(RegExpConstructResult) \
82 V(TransitionElementsKind) \ 81 V(TransitionElementsKind) \
83 /* --- TurboFanCodeStubs --- */ \ 82 /* --- TurboFanCodeStubs --- */ \
84 V(AllocateHeapNumber) \ 83 V(AllocateHeapNumber) \
85 V(AllocateFloat32x4) \ 84 V(AllocateFloat32x4) \
86 V(AllocateInt32x4) \ 85 V(AllocateInt32x4) \
87 V(AllocateUint32x4) \ 86 V(AllocateUint32x4) \
88 V(AllocateBool32x4) \ 87 V(AllocateBool32x4) \
89 V(AllocateInt16x8) \ 88 V(AllocateInt16x8) \
90 V(AllocateUint16x8) \ 89 V(AllocateUint16x8) \
91 V(AllocateBool16x8) \ 90 V(AllocateBool16x8) \
(...skipping 1693 matching lines...) Expand 10 before | Expand all | Expand 10 after
1785 1784
1786 1785
1787 class RegExpExecStub: public PlatformCodeStub { 1786 class RegExpExecStub: public PlatformCodeStub {
1788 public: 1787 public:
1789 explicit RegExpExecStub(Isolate* isolate) : PlatformCodeStub(isolate) { } 1788 explicit RegExpExecStub(Isolate* isolate) : PlatformCodeStub(isolate) { }
1790 1789
1791 DEFINE_CALL_INTERFACE_DESCRIPTOR(RegExpExec); 1790 DEFINE_CALL_INTERFACE_DESCRIPTOR(RegExpExec);
1792 DEFINE_PLATFORM_CODE_STUB(RegExpExec, PlatformCodeStub); 1791 DEFINE_PLATFORM_CODE_STUB(RegExpExec, PlatformCodeStub);
1793 }; 1792 };
1794 1793
1795 // TODO(jgruber): Remove this once all uses in regexp.js have been removed.
1796 class RegExpConstructResultStub final : public HydrogenCodeStub {
1797 public:
1798 explicit RegExpConstructResultStub(Isolate* isolate)
1799 : HydrogenCodeStub(isolate) { }
1800
1801 DEFINE_CALL_INTERFACE_DESCRIPTOR(RegExpConstructResult);
1802 DEFINE_HYDROGEN_CODE_STUB(RegExpConstructResult, HydrogenCodeStub);
1803 };
1804
1805
1806 // TODO(bmeurer/mvstanton): Turn CallConstructStub into ConstructICStub. 1794 // TODO(bmeurer/mvstanton): Turn CallConstructStub into ConstructICStub.
1807 class CallConstructStub final : public PlatformCodeStub { 1795 class CallConstructStub final : public PlatformCodeStub {
1808 public: 1796 public:
1809 explicit CallConstructStub(Isolate* isolate) : PlatformCodeStub(isolate) {} 1797 explicit CallConstructStub(Isolate* isolate) : PlatformCodeStub(isolate) {}
1810 1798
1811 DEFINE_CALL_INTERFACE_DESCRIPTOR(CallConstruct); 1799 DEFINE_CALL_INTERFACE_DESCRIPTOR(CallConstruct);
1812 DEFINE_PLATFORM_CODE_STUB(CallConstruct, PlatformCodeStub); 1800 DEFINE_PLATFORM_CODE_STUB(CallConstruct, PlatformCodeStub);
1813 }; 1801 };
1814 1802
1815 1803
(...skipping 956 matching lines...) Expand 10 before | Expand all | Expand 10 after
2772 #undef DEFINE_HYDROGEN_CODE_STUB 2760 #undef DEFINE_HYDROGEN_CODE_STUB
2773 #undef DEFINE_CODE_STUB 2761 #undef DEFINE_CODE_STUB
2774 #undef DEFINE_CODE_STUB_BASE 2762 #undef DEFINE_CODE_STUB_BASE
2775 2763
2776 extern Representation RepresentationFromMachineType(MachineType type); 2764 extern Representation RepresentationFromMachineType(MachineType type);
2777 2765
2778 } // namespace internal 2766 } // namespace internal
2779 } // namespace v8 2767 } // namespace v8
2780 2768
2781 #endif // V8_CODE_STUBS_H_ 2769 #endif // V8_CODE_STUBS_H_
OLDNEW
« no previous file with comments | « src/code-factory.cc ('k') | src/code-stubs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698