Index: src/code-stubs.h |
diff --git a/src/code-stubs.h b/src/code-stubs.h |
index 36757c41c63c929067ad2f8f0d8efa4839276aa2..f7aca2e3cfa0ae0552d706a98300d1c4fa1c6958 100644 |
--- a/src/code-stubs.h |
+++ b/src/code-stubs.h |
@@ -42,7 +42,6 @@ namespace internal { |
V(StoreElement) \ |
V(SubString) \ |
V(ToString) \ |
- V(ToName) \ |
V(StoreIC) \ |
V(KeyedStoreIC) \ |
V(KeyedLoadIC) \ |
@@ -161,6 +160,7 @@ namespace internal { |
V(StringGreaterThanOrEqual) \ |
V(ToInteger) \ |
V(ToLength) \ |
+ V(ToName) \ |
V(HasProperty) \ |
V(ForInFilter) \ |
V(GetProperty) \ |
@@ -3201,12 +3201,12 @@ class ToStringStub final : public PlatformCodeStub { |
DEFINE_PLATFORM_CODE_STUB(ToString, PlatformCodeStub); |
}; |
-class ToNameStub final : public PlatformCodeStub { |
+class ToNameStub final : public TurboFanCodeStub { |
public: |
- explicit ToNameStub(Isolate* isolate) : PlatformCodeStub(isolate) {} |
+ explicit ToNameStub(Isolate* isolate) : TurboFanCodeStub(isolate) {} |
DEFINE_CALL_INTERFACE_DESCRIPTOR(TypeConversion); |
- DEFINE_PLATFORM_CODE_STUB(ToName, PlatformCodeStub); |
+ DEFINE_TURBOFAN_UNARY_OP_CODE_STUB(ToName, TurboFanCodeStub); |
}; |
class ToObjectStub final : public TurboFanCodeStub { |