From d8846c5733fba653812a61853179fbb1fc1a0809 Mon Sep 17 00:00:00 2001 From: mwilliams Date: Mon, 18 Mar 2013 19:05:06 -0700 Subject: [PATCH] Fix assertion when target==analyze Option::OutputHHBC should always be true. --- hphp/compiler/compiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hphp/compiler/compiler.cpp b/hphp/compiler/compiler.cpp index fac86e0ca..518bc128d 100644 --- a/hphp/compiler/compiler.cpp +++ b/hphp/compiler/compiler.cpp @@ -477,8 +477,8 @@ int prepareOptions(CompilerOptions &po, int argc, char **argv) { (Util::format_pattern(po.excludeStaticPatterns[i], true)); } + Option::OutputHHBC = true; if (po.target == "hhbc" || po.target == "run") { - Option::OutputHHBC = true; Option::AnalyzePerfectVirtuals = false; }