Open Bug 1493739 Opened 6 years ago Updated 2 years ago

C++ object-model clean-up for ArgumentsObject

Categories

(Core :: JavaScript Engine, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: tcampbell, Unassigned)

References

Details

ArgumentsObject::create and all its friends are missing proper placement-new of the GCValuePtr before calling init. CopyFrameArgs, CopyJitFrameArgs, CopyScriptFrameIterArgs should probably change their |copy| signatures to be clearer here. Perhaps rename to unitializedCopyArgs (as in std::uninitialized_copy) and remove the JSContext argument. ArgumentsData could probably just have a constructor too.
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.