Open Bug 1722737 Opened 3 years ago Updated 2 years ago

Re-implement checks for missing self-hosting intrinsics

Categories

(Core :: JavaScript Engine, task, P2)

task

Tracking

()

People

(Reporter: tcampbell, Unassigned)

References

(Blocks 1 open bug)

Details

In Bug 1688794, the VerifyGlobalNames was removed due to it's reliance on the self-hosting GlobalObject. This pass makes sure that the uses of JSOp::GetIntrinsic are for property names that should exist in order to quickly catch typos.

Sources of intrinsics are:

  • C++ intrinsics defined by JSFunctionSpec
  • Top-level scripted functions defined by ScriptStencil
  • Computed intrinsics set by JSOp::SetIntrinsic

Ideally this would be checked in parsing when the self-host stencil is first created.

Assignee: tcampbell → nobody
Summary: Re-implement checks for missing self-hosting intrinics → Re-implement checks for missing self-hosting intrinsics
You need to log in before you can comment on or make changes to this bug.