Templatize the NonGenericMethod helpers

RESOLVED INVALID

Status

()

Core
JavaScript Engine
RESOLVED INVALID
5 years ago
5 years ago

People

(Reporter: sfink, Assigned: sfink)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Assignee)

Description

5 years ago
We have a lot of

  static bool
  dosomething(JSContext *cx, unsigned argc, Value *vp)
  {
      CallArgs args = CallArgsFromVp(argc, vp);
      return CallNonGenericMethod<IsRegExp, dosomething_impl>(cx, args);
  }

boilerplate.
(Assignee)

Comment 1

5 years ago
Sorry, please ignore; bzexport bug.
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.