Bug 774915 - don't use the property cache for dynamic name lookup (r=bhackett)
This commit is contained in:
@@ -11,7 +11,6 @@
|
||||
|
||||
#include "frontend/BytecodeEmitter.h"
|
||||
#include "frontend/FoldConstants.h"
|
||||
#include "frontend/SemanticAnalysis.h"
|
||||
#include "vm/GlobalObject.h"
|
||||
|
||||
#include "jsinferinlines.h"
|
||||
@@ -193,8 +192,6 @@ frontend::CompileScript(JSContext *cx, HandleObject scopeChain, StackFrame *call
|
||||
if (!FoldConstants(cx, pn, &parser))
|
||||
return NULL;
|
||||
|
||||
if (!AnalyzeFunctions(&parser))
|
||||
return NULL;
|
||||
pc.functionList = NULL;
|
||||
|
||||
if (!EmitTree(cx, &bce, pn))
|
||||
@@ -334,9 +331,6 @@ frontend::CompileFunctionBody(JSContext *cx, HandleFunction fun, CompileOptions
|
||||
if (!funbce.init())
|
||||
return false;
|
||||
|
||||
if (!AnalyzeFunctions(&parser))
|
||||
return false;
|
||||
|
||||
if (fn->pn_body) {
|
||||
JS_ASSERT(fn->pn_body->isKind(PNK_ARGSBODY));
|
||||
fn->pn_body->append(pn);
|
||||
|
||||
Reference in New Issue
Block a user