2009-01-25 Judit Jasz <jasy@inf.u-szeged.hu>
authordarin@apple.com <darin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 25 Jan 2009 21:11:42 +0000 (21:11 +0000)
committerdarin@apple.com <darin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 25 Jan 2009 21:11:42 +0000 (21:11 +0000)
        Reviewed by Darin Adler.

        Compilation problem fixing
        http://bugs.webkit.org/show_bug.cgi?id=23497

        * jit/JITCall.cpp:
        (JSC::JIT::compileOpCall): Use JSValuePtr::encode.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@40232 268f45cc-cd09-0410-ab3c-d52691b4dbfc

JavaScriptCore/ChangeLog
JavaScriptCore/jit/JITCall.cpp

index d7a9246..d4d62aa 100644 (file)
@@ -1,3 +1,13 @@
+2009-01-25  Judit Jasz  <jasy@inf.u-szeged.hu>
+
+        Reviewed by Darin Adler.
+        
+        Compilation problem fixing 
+        http://bugs.webkit.org/show_bug.cgi?id=23497
+
+        * jit/JITCall.cpp:
+        (JSC::JIT::compileOpCall): Use JSValuePtr::encode.
+
 2009-01-25  Darin Adler  <darin@apple.com>
 
         Reviewed by Sam Weinig.
index 7866161..af26712 100644 (file)
@@ -133,7 +133,7 @@ void JIT::compileOpCall(OpcodeID opcodeID, Instruction* instruction, unsigned)
         compileOpCallEvalSetupArgs(instruction);
 
         emitCTICall(Interpreter::cti_op_call_eval);
-        wasEval = jnePtr(X86::eax, ImmPtr(jsImpossibleValue()));
+        wasEval = jnePtr(X86::eax, ImmPtr(JSValuePtr::encode(jsImpossibleValue())));
     }
 
     emitGetVirtualRegister(callee, X86::ecx);