From d017fe9b38c74d2cc2fa754af3bf9e32357f149c Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Fri, 16 Aug 2013 08:57:58 +0200 Subject: Store line number mappings in the compiled function Change-Id: I4e37aac3618b20ccd52ce4833098781374a3daf6 Reviewed-by: Lars Knoll --- src/qml/compiler/qv4isel_p.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/qml/compiler/qv4isel_p.h') diff --git a/src/qml/compiler/qv4isel_p.h b/src/qml/compiler/qv4isel_p.h index 24ad5812f0..3553d9dc78 100644 --- a/src/qml/compiler/qv4isel_p.h +++ b/src/qml/compiler/qv4isel_p.h @@ -73,6 +73,7 @@ public: uint registerGetterLookup(const QString &str) { return jsUnitGenerator.registerGetterLookup(str); } uint registerSetterLookup(const QString &str) { return jsUnitGenerator.registerSetterLookup(str); } uint registerGlobalGetterLookup(const QString &str) { return jsUnitGenerator.registerGlobalGetterLookup(str); } + void registerLineNumberMapping(V4IR::Function *function, const QVector &mappings) { jsUnitGenerator.registerLineNumberMapping(function, mappings); } protected: QV4::Function *createFunctionMapping(QV4::Function *outer, V4IR::Function *irFunction); -- cgit v1.2.3