Skip to content

Remaining work to transition to new unified NativeFunctionΒ #4263

@RZhang05

Description

@RZhang05
  • Remove old natives using NewUnmeteredStaticHostFunctionValue and NewStaticHostFunctionValue. These use invocation or pass invocation around which is no longer supported in a NativeFunction. Refactor if possible.
  • Remove Invocation.ArgumentTypes.
  • Reduce NativeFunctionContext to smallest set, maybe replace with InvocationContext

Maybe also

  • Switch uses of interpreter.HostFunction to NativeFunction
  • Remove interpreter.HostFunction and interpreter.AdaptNativeFunctionForInterpreter

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions