c1e4c29d0d
This diff eliminates setOpEqual() and appendOpEqual() from Variant, and it also removes several methods from ObjectData: o_assign_op(), o_argval(), setDummy(), init(), cloneDynamic(), o_setPublicWithRef(), o_i_set(), getRedeclaredParent(), and o_propForIteration(). This diff also makes several methods in ObjectData non-virtual: destruct(), o_toIterArray(), and o_getDynamicProperties(). To achieve this, some of the logic from Instance was moved to ObjectData. Finally, this diff gets rid of "hhvm/externals_stubs.cpp" and "runtime/eval/eval.cpp".
36 linhas
1.5 KiB
C
36 linhas
1.5 KiB
C
/*
|
|
+----------------------------------------------------------------------+
|
|
| HipHop for PHP |
|
|
+----------------------------------------------------------------------+
|
|
| Copyright (c) 2010- Facebook, Inc. (http://www.facebook.com) |
|
|
+----------------------------------------------------------------------+
|
|
| This source file is subject to version 3.01 of the PHP license, |
|
|
| that is bundled with this package in the file LICENSE, and is |
|
|
| available through the world-wide-web at the following url: |
|
|
| http://www.php.net/license/3_01.txt |
|
|
| If you did not receive a copy of the PHP license and are unable to |
|
|
| obtain it through the world-wide-web, please send a note to |
|
|
| license@php.net so we can mail you a copy immediately. |
|
|
+----------------------------------------------------------------------+
|
|
*/
|
|
|
|
#ifndef __CPP_BASE_HPHP_H__
|
|
#define __CPP_BASE_HPHP_H__
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
/**
|
|
* This is the file that's included at top of a code generated program.
|
|
*
|
|
* Do NOT include this file in runtime/base, as this depends on a generated
|
|
* globals.h that defines GlobalVariables class.
|
|
*/
|
|
|
|
#include <runtime/base/base_includes.h>
|
|
#include <runtime/base/program_functions.h>
|
|
#include <runtime/ext/ext.h>
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
#endif // __CPP_BASE_HPHP_H__
|