From 2eca9ab72bcd67c864630723aaaa370a167a951b Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Fri, 8 Feb 2013 09:54:15 +0100 Subject: [PATCH] Fix debug build with Visual Studio For some reason it wants to reference the Void "value" that should really get optimized away. That doesn't seem to be the case in debug builds, so let's just define it. Change-Id: Ifb25911d4764af87b5a7d3a04f618ebc5e428ff7 Reviewed-by: Lars Knoll --- src/v4/qv4isel_masm.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/v4/qv4isel_masm.cpp b/src/v4/qv4isel_masm.cpp index 7c9ab87..24a51a9 100644 --- a/src/v4/qv4isel_masm.cpp +++ b/src/v4/qv4isel_masm.cpp @@ -59,6 +59,8 @@ using namespace QQmlJS; using namespace QQmlJS::MASM; using namespace QQmlJS::VM; +const Assembler::VoidType Assembler::Void; + Assembler::Assembler(IR::Function* function) : _function(function) { -- 2.7.4