Add the Ref alias class
commit1c5058db1a94bf3ebffd14c6c8d34eafa56d4d38
authorBin Liu <binliu@fb.com>
Wed, 6 May 2015 01:38:14 +0000 (5 18:38 -0700)
committerhhvm-bot <hhvm-bot@fb.com>
Wed, 6 May 2015 02:00:34 +0000 (5 19:00 -0700)
treebc85f0e708b6ddd23486fb712292cb0973d86f3a
parent09a56fdceebae0bd2203001f84dd3d5cf9aa47ac
Add the Ref alias class

Summary: Add a bit in AliasClass::rep to represent the location where
RefData lives. It is a subclass of AHeapAny. We currently don't store
specific information about it, so any pair of pointers to a RefData
alias each other.

Reviewed By: @jdelong

Differential Revision: D2038485
hphp/runtime/vm/jit/alias-class.cpp
hphp/runtime/vm/jit/alias-class.h
hphp/runtime/vm/jit/memory-effects.cpp