Skip to content

Relocate object protocol implementation from vm  #3324

Closed
@youknowone

Description

@youknowone

For now, Object protocol methods are (mostly) thin wrapper of matching vm functions. Because we don't need to have duplicated functions for same features, they need to be moved from vm to object protocol functions.

  • vm path: vm/src/vm.rs
  • object protocol path: vm/src/protocol/object.rs

The matching vm functions are easy to find because object methods are calling it.

Becasue relocating each function will cause many code editing, every new PR for each function is recommended for easier review.

Reference:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions