Move the job of converting provided coeffects to ambient coeffects from callee to...
commitd26ff8d570c4a2ca0b8a9f581b0d5f45ebf5dfe6
authorOguz Ulgen <oulgen@fb.com>
Wed, 17 Mar 2021 06:39:43 +0000 (16 23:39 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Wed, 17 Mar 2021 06:42:30 +0000 (16 23:42 -0700)
treecebb55ec4aae530075598ad4590642db2b19e8ce
parent2477d32a27df5b0c65be3546b3ecb15590c79ae8
Move the job of converting provided coeffects to ambient coeffects from callee to callee

Summary: With closure coeffects, we need to be able to store the provided coeffects in the local. Instead of storing both provided and ambient, we can just store provided and when we do need the ambient, we can convert it.

Reviewed By: jano

Differential Revision: D27062622

fbshipit-source-id: ac03133ae9feb3c69097dc6e2b8fa54c84f2ac13
hphp/runtime/vm/act-rec-inl.h
hphp/runtime/vm/coeffects.cpp
hphp/runtime/vm/coeffects.h
hphp/runtime/vm/interp-helpers.h
hphp/runtime/vm/jit/irgen-func-prologue.cpp
hphp/runtime/vm/jit/irgen-internal.h