Index: src/code-stubs.h |
diff --git a/src/code-stubs.h b/src/code-stubs.h |
index fb22e49213542778547858b0acc50a64be0a43dc..8bf470115d1d79b4d1fadac2a5c3eff39ad7551a 100644 |
--- a/src/code-stubs.h |
+++ b/src/code-stubs.h |
@@ -26,8 +26,8 @@ |
V(CallApiFunction) \ |
V(CallApiAccessor) \ |
V(CallApiGetter) \ |
+ V(CallConstruct) \ |
V(CallIC) \ |
- V(ConstructIC) \ |
V(CEntry) \ |
V(CompareIC) \ |
V(DoubleToI) \ |
@@ -1962,16 +1962,13 @@ |
}; |
-class ConstructICStub final : public PlatformCodeStub { |
- public: |
- explicit ConstructICStub(Isolate* isolate) : PlatformCodeStub(isolate) {} |
- |
- Code::Kind GetCodeKind() const override { return Code::CONSTRUCT_IC; } |
- |
- InlineCacheState GetICState() const final { return GENERIC; } |
- |
- DEFINE_CALL_INTERFACE_DESCRIPTOR(Construct); |
- DEFINE_PLATFORM_CODE_STUB(ConstructIC, PlatformCodeStub); |
+// TODO(bmeurer/mvstanton): Turn CallConstructStub into ConstructICStub. |
+class CallConstructStub final : public PlatformCodeStub { |
+ public: |
+ explicit CallConstructStub(Isolate* isolate) : PlatformCodeStub(isolate) {} |
+ |
+ DEFINE_CALL_INTERFACE_DESCRIPTOR(CallConstruct); |
+ DEFINE_PLATFORM_CODE_STUB(CallConstruct, PlatformCodeStub); |
}; |