Index: src/code-stubs.h |
diff --git a/src/code-stubs.h b/src/code-stubs.h |
index 484ebab4a66361facb92b6a65c9358e2cd9e4247..ae0c1e9172f99e7ca259e2102196ed5d12d0fa5f 100644 |
--- a/src/code-stubs.h |
+++ b/src/code-stubs.h |
@@ -54,6 +54,7 @@ namespace internal { |
V(ToNumber) \ |
V(ToLength) \ |
V(ToString) \ |
+ V(ToName) \ |
V(ToObject) \ |
V(VectorStoreICTrampoline) \ |
V(VectorKeyedStoreICTrampoline) \ |
@@ -2950,6 +2951,15 @@ class ToStringStub final : public PlatformCodeStub { |
}; |
+class ToNameStub final : public PlatformCodeStub { |
+ public: |
+ explicit ToNameStub(Isolate* isolate) : PlatformCodeStub(isolate) {} |
+ |
+ DEFINE_CALL_INTERFACE_DESCRIPTOR(ToName); |
+ DEFINE_PLATFORM_CODE_STUB(ToName, PlatformCodeStub); |
+}; |
+ |
+ |
class ToObjectStub final : public HydrogenCodeStub { |
public: |
explicit ToObjectStub(Isolate* isolate) : HydrogenCodeStub(isolate) {} |