Implement methods of RFunc
commitedd654c8fbd533970dc8644ba4e846fe0a327867
authorThomas Jiang <thomasjiang@fb.com>
Fri, 13 Mar 2020 19:42:06 +0000 (13 12:42 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Fri, 13 Mar 2020 19:55:20 +0000 (13 12:55 -0700)
tree72ebcdc3555b20f7251ce4700de820f8b81019e1
parent5053db15d22676e045bf329751990656be582d30
Implement methods of RFunc

Summary:
Implement a constructor and destructor for RFunc.

In order to make it a heap request allocated object, it seems I need to create add a new HeaderKind. I've left some of those blank because I'm not sure what to do / what the functions are doing with regards to heap request allocated objects.

Reviewed By: oulgen

Differential Revision: D19885448

fbshipit-source-id: d96374b7feeb4d71e702ac8756236d16804be038
hphp/runtime/base/header-kind.h
hphp/runtime/base/heap-collect.cpp
hphp/runtime/base/heap-report.cpp
hphp/runtime/base/heap-scan.h
hphp/runtime/base/memory-manager-defs.h
hphp/runtime/base/memory-manager.cpp
hphp/runtime/base/perf-mem-event.cpp
hphp/runtime/base/strings.h
hphp/runtime/ext/objprof/ext_heapgraph.cpp
hphp/runtime/vm/rfunc-data.cpp
hphp/runtime/vm/rfunc-data.h