From 72c92a16c214dc8c5807095c80bef7f6234e6552 Mon Sep 17 00:00:00 2001 From: aleksisch Date: Mon, 22 Jan 2024 12:28:22 +0300 Subject: [PATCH] add toString intrinsic signature for interop Issue: https://gitee.com/openharmony/arkcompiler_ets_frontend/issues/I8Z8VB Signed-off-by: aleksisch --- ets2panda/compiler/scripts/signatures.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ets2panda/compiler/scripts/signatures.yaml b/ets2panda/compiler/scripts/signatures.yaml index 69bbffc899..20746ed7eb 100644 --- a/ets2panda/compiler/scripts/signatures.yaml +++ b/ets2panda/compiler/scripts/signatures.yaml @@ -1141,6 +1141,12 @@ signatures: return_type: PRIMITIVE_BOOLEAN ref: BUILTIN_JSRUNTIME_INSTANCE_OF + - callee: BUILTIN_JSVALUE + method_name: toString + params: [] + return_type: PRIMITIVE_STRING + ref: BUILTIN_JSVALUE_TO_STRING + - callee: BUILTIN_BOX method_name: $CTOR params: [] -- Gitee