Use hasMultipleRefs rather than refCount > 1
commitb8c94828b436bc536654aa1d9129acfd5e24cdd2
authormwilliams <mwilliams@fb.com>
Mon, 14 Oct 2013 14:31:47 +0000 (14 07:31 -0700)
committerSara Golemon <sgolemon@fb.com>
Tue, 15 Oct 2013 19:41:43 +0000 (15 12:41 -0700)
tree1a1acb05db81fec5d4c6f3a4be94125217aefd3f
parent7d163cd8f79a43cb6ab0cd10141d2ce4effafd38
Use hasMultipleRefs rather than refCount > 1

Pretty much mechanical change, which will make it easier
to use the sign bit for RefCountStaticValue.

Reviewed By: @edwinsmith

Differential Revision: D1009397
21 files changed:
hphp/runtime/base/array-data.cpp
hphp/runtime/base/array-iterator.cpp
hphp/runtime/base/array-iterator.h
hphp/runtime/base/countable.h
hphp/runtime/base/hphp-array.cpp
hphp/runtime/base/string-data-inl.h
hphp/runtime/base/string-data.cpp
hphp/runtime/base/string-data.h
hphp/runtime/base/tv-arith.cpp
hphp/runtime/base/tv-helpers.cpp
hphp/runtime/base/tv-helpers.h
hphp/runtime/base/type-array.cpp
hphp/runtime/base/type-array.h
hphp/runtime/base/type-variant.cpp
hphp/runtime/base/type-variant.h
hphp/runtime/ext/ext_array.cpp
hphp/runtime/ext_zend_compat/php-src/Zend/zend_operators.h
hphp/runtime/vm/jit/minstr-translator.cpp
hphp/runtime/vm/jit/translator-runtime.cpp
hphp/runtime/vm/member-operations.h
hphp/runtime/vm/runtime.cpp