From 4be3e757348fc393cb93dbf8f9fc81ea6d57a408 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Tue, 12 Feb 2013 16:23:52 +0100 Subject: Implement a first iteration of the fast property lookup scheme Fast lookups still require a function call, and will only work for properties defined on the object itself. Properties of the prototype will still be slow. Change-Id: I07c601998d312b1bd8e9977708d3375bf72df3e3 Reviewed-by: Simon Hausmann --- tools/v4/main.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'tools') diff --git a/tools/v4/main.cpp b/tools/v4/main.cpp index 2516386eef..01d4f8fdcc 100644 --- a/tools/v4/main.cpp +++ b/tools/v4/main.cpp @@ -400,6 +400,7 @@ int main(int argc, char *argv[]) vm.globalCode = f; ctx->strictMode = f->isStrict; + ctx->lookups = f->lookups; if (debugger) debugger->aboutToCall(0, ctx); QQmlJS::VM::Value result = f->code(ctx, f->codeData); -- cgit v1.2.3