Merge ObjectData and Instance together, part 2
commitd336b46cc74ac7c276fec366e18943d576c02d93
authorDrew Paroski <andrewparoski@fb.com>
Sun, 30 Jun 2013 11:06:44 +0000 (30 04:06 -0700)
committerSara Golemon <sgolemon@fb.com>
Mon, 8 Jul 2013 17:30:57 +0000 (8 10:30 -0700)
tree20061966c4f2fc4d443af06850444f970c2e245e
parent5b512b77b6a4d331efb7b59057adfe8723153ded
Merge ObjectData and Instance together, part 2

When object support was first added to HHVM, a class named "Instance"
was introduced (deriving from ObjectData) to represent instances of user
defined classes. Since then, things have evolved and HPHPc and HPHPi have
been retired, and now there really is no needed to have ObjectData and
Instance be separate classes anymore.

This diff moves all of the functionality from the Instance class to the
ObjectData and removes the Instance class. In the process, I got rid of
a bunch of dead methods and fixed some indentation and other style issues.
33 files changed:
hphp/compiler/analysis/emitter.cpp
hphp/runtime/base/array/array_data.cpp
hphp/runtime/base/builtin_functions.cpp
hphp/runtime/base/builtin_functions.h
hphp/runtime/base/execution_context.h
hphp/runtime/base/file/user_file.cpp
hphp/runtime/base/memory/smart_allocator.h
hphp/runtime/base/object_data.cpp
hphp/runtime/base/object_data.h
hphp/runtime/base/resource_data.cpp
hphp/runtime/base/resource_data.h
hphp/runtime/base/type_variant.cpp
hphp/runtime/ext/ext_continuation.cpp
hphp/runtime/ext/ext_continuation.h
hphp/runtime/ext/ext_pdo.cpp
hphp/runtime/ext/ext_simplexml.cpp
hphp/runtime/ext_hhvm/ext_hhvm.h
hphp/runtime/vm/backup_gc.cpp
hphp/runtime/vm/bytecode.cpp
hphp/runtime/vm/class.h
hphp/runtime/vm/jit/codegen.cpp
hphp/runtime/vm/jit/codegen.h
hphp/runtime/vm/jit/translator-runtime.cpp
hphp/runtime/vm/jit/translator-x64.cpp
hphp/runtime/vm/jit/translator-x64.h
hphp/runtime/vm/member_operations.cpp
hphp/runtime/vm/member_operations.h
hphp/runtime/vm/object_allocator_sizes.h
hphp/runtime/vm/runtime.h
hphp/system/idl/continuation.idl.json
hphp/system/systemlib.cpp
hphp/tools/bootstrap/gen-ext-hhvm.cpp
hphp/tools/bootstrap/gen-infotabs.cpp