Move InstanceBits to separate module; make Class not friend of things
commitf6899af5715ed45756267101b0253533768bd31a
authorJordan DeLong <jdelong@fb.com>
Tue, 3 Sep 2013 06:22:16 +0000 (2 23:22 -0700)
committerSara Golemon <sgolemon@fb.com>
Fri, 6 Sep 2013 02:39:57 +0000 (5 19:39 -0700)
treef067b13c95f1f7f9ef6af04cb54963a256beb874
parenta251801bcd2e834f2308ce22e6ed816935e05d0f
Move InstanceBits to separate module; make Class not friend of things

Aside from instance bits this is pretty straight forward.
Most of the other friends were just directly accessing members instead
of using accessors.

Differential Revision: D953599
17 files changed:
hphp/compiler/analysis/emitter.cpp
hphp/runtime/base/object-data.cpp
hphp/runtime/base/object-data.h
hphp/runtime/ext_hhvm/ext_hhvm.h
hphp/runtime/vm/bytecode.cpp
hphp/runtime/vm/class.cpp
hphp/runtime/vm/class.h
hphp/runtime/vm/func.h
hphp/runtime/vm/instance-bits.cpp [new file with mode: 0644]
hphp/runtime/vm/instance-bits.h [new file with mode: 0644]
hphp/runtime/vm/jit/code-gen.cpp
hphp/runtime/vm/jit/hhbc-translator.cpp
hphp/runtime/vm/preclass-emit.cpp
hphp/runtime/vm/preclass-emit.h
hphp/runtime/vm/type-constraint.cpp
hphp/runtime/vm/type-profile.h
hphp/runtime/vm/unit.cpp