remove hphp_process_abort

- Remove questionable hphp_process_abort debugging method
Esse commit está contido em:
Sean Cannella
2013-06-19 21:16:21 -07:00
commit de Sara Golemon
commit d1b3172352
3 arquivos alterados com 1 adições e 29 exclusões
-9
Ver Arquivo
@@ -370,15 +370,6 @@ String f_token_name(int64_t token) {
return "UNKNOWN";
}
static const StaticString s_marauder("I solemnly swear that I am up to no good.");
Variant f_hphp_process_abort(CVarRef magic) {
if (equal(magic, s_marauder)) {
*((int*)0) = 0xdead;
}
return null_variant;
}
String f_hphp_to_string(CVarRef v) {
return v.toString();
}
-1
Ver Arquivo
@@ -52,7 +52,6 @@ Variant f_unpack(CStrRef format, CStrRef data);
Array f_sys_getloadavg();
Array f_token_get_all(CStrRef source);
String f_token_name(int64_t token);
Variant f_hphp_process_abort(CVarRef magic);
String f_hphp_to_string(CVarRef v);
extern const double k_INF;
extern const double k_NAN;
+1 -19
Ver Arquivo
@@ -530,24 +530,6 @@
}
]
},
{
"name": "hphp_process_abort",
"desc": "Causes the process to die immediately in an undefined way.",
"flags": [
"HasDocComment"
],
"return": {
"type": "Variant",
"desc": "No value is returned."
},
"args": [
{
"name": "magic",
"type": "Variant",
"desc": "You shouldn't be calling this function if you don't know the magic value."
}
]
},
{
"name": "hphp_to_string",
"desc": "Casts a given value to a string.",
@@ -569,4 +551,4 @@
],
"classes": [
]
}
}