More compilation fixes.
authorErik Verbruggen <erik.verbruggen@digia.com>
Tue, 18 Dec 2012 08:06:03 +0000 (09:06 +0100)
committerSimon Hausmann <simon.hausmann@digia.com>
Tue, 18 Dec 2012 09:19:16 +0000 (10:19 +0100)
Change-Id: I5940e0b1e72c06420ae95ff3adfd78572888c886
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
qmljs_objects.cpp
qv4isel_llvm.cpp

index 16a872f..3766081 100644 (file)
@@ -184,6 +184,8 @@ PropertyDescriptor *Object::__getOwnProperty__(ExecutionContext *, String *name)
 // Section 8.12.2
 PropertyDescriptor *Object::__getPropertyDescriptor__(ExecutionContext *ctx, String *name)
 {
+    Q_UNUSED(ctx);
+
     Object *o = this;
     while (o) {
         if (o->members) {
index 5ea5df9..eea515c 100644 (file)
@@ -780,6 +780,11 @@ void LLVMInstructionSelection::genBinop(llvm::Value *result, IR::Binop *e)
         Q_UNREACHABLE();
         break;
 
+    case IR::OpIncrement:
+    case IR::OpDecrement:
+        assert(!"TODO!");
+        break;
+
     case IR::OpBitAnd: op = _llvmModule->getFunction("__qmljs_llvm_bit_and"); break;
     case IR::OpBitOr: op = _llvmModule->getFunction("__qmljs_llvm_bit_or"); break;
     case IR::OpBitXor: op = _llvmModule->getFunction("__qmljs_llvm_bit_xor"); break;