Bug 774915 - don't use the property cache for dynamic name lookup (r=bhackett)

This commit is contained in:
Luke Wagner
2012-08-17 18:09:43 -07:00
parent fc96a27521
commit 03bd974508
23 changed files with 229 additions and 577 deletions

View File

@@ -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);