[masm] Remove unused variable
authorSimon Hausmann <simon.hausmann@digia.com>
Tue, 4 Dec 2012 21:32:32 +0000 (22:32 +0100)
committerLars Knoll <lars.knoll@digia.com>
Tue, 4 Dec 2012 22:12:25 +0000 (23:12 +0100)
Change-Id: I6034dad659ea4029256828bee06e8621902fd52c
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
qv4isel_masm.cpp
qv4isel_masm_p.h

index 34fc273..1029d75 100644 (file)
@@ -195,11 +195,6 @@ void InstructionSelection::operator()(IR::Function *function)
         functions[ctl.externalFunction.value()] = ctl.functionName;
     }
 
-    foreach (CatchBlockToLink cbl, _catchHandlers) {
-        Label target = _addrs.value(cbl.catchBlock);
-        linkBuffer.patch(cbl.ptr, linkBuffer.locationOf(target));
-    }
-
     static bool showCode = !qgetenv("SHOW_CODE").isNull();
     if (showCode) {
 #if OS(LINUX)
index ccd1ab5..48801d0 100644 (file)
@@ -595,10 +595,6 @@ private:
         FunctionPtr externalFunction;
         const char* functionName;
     };
-    struct CatchBlockToLink {
-        DataLabelPtr ptr;
-        IR::BasicBlock *catchBlock;
-    };
 
     void storeValue(VM::Value value, Address destination)
     {
@@ -726,7 +722,6 @@ private:
     IR::BasicBlock *_block;
     QHash<IR::BasicBlock *, QVector<Jump> > _patches;
     QHash<IR::BasicBlock *, Label> _addrs;
-    QList<CatchBlockToLink> _catchHandlers;
     QList<CallToLink> _callsToLink;
 };