From 3a9f4d3ae701c7119016a0bf8b4e65ceb17864b0 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Fri, 30 Jun 2017 08:44:09 +0200 Subject: Get rid of IR::Module and IR::Function Fold the stuff from IR::Function into QQmlJS::Context, and add a QQmlJS::Module class to replace the last pieces of the old IR. Change-Id: Ic02a6738a4f1db67a0ddf97b6c93ca32be81789d Reviewed-by: Erik Verbruggen --- src/qml/jsruntime/qv4functionobject.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/qml/jsruntime/qv4functionobject.cpp') diff --git a/src/qml/jsruntime/qv4functionobject.cpp b/src/qml/jsruntime/qv4functionobject.cpp index 17f92f5f7c..992701d0fb 100644 --- a/src/qml/jsruntime/qv4functionobject.cpp +++ b/src/qml/jsruntime/qv4functionobject.cpp @@ -217,7 +217,7 @@ void FunctionCtor::construct(const Managed *that, Scope &scope, CallData *callDa return; } - IR::Module module(scope.engine->debugger() != 0); + QQmlJS::Module module(scope.engine->debugger() != 0); Compiler::JSUnitGenerator jsGenerator(&module); QQmlJS::RuntimeCodegen cg(scope.engine, &jsGenerator, f->strictMode()); -- cgit v1.2.3