JIT::appendCall() needs to killLastResultRegister() or equivalent since there's some really bad code that expects it
https://bugs.webkit.org/show_bug.cgi?id=122937

Reviewed by Geoffrey Garen.
        
JITStubCall used to do it.
        
This makes mozilla-tests.yaml/ecma/Statements/12.10-1.js.mozilla-baseline pass.

* jit/JIT.h:
(JSC::JIT::appendCall):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@157554 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/Source/JavaScriptCore/jit/JIT.h b/Source/JavaScriptCore/jit/JIT.h
index 4ff916b..b797b17 100644
--- a/Source/JavaScriptCore/jit/JIT.h
+++ b/Source/JavaScriptCore/jit/JIT.h
@@ -362,6 +362,11 @@
         {
             Call functionCall = call();
             m_calls.append(CallRecord(functionCall, m_bytecodeOffset, function.value()));
+#if USE(JSVALUE32_64)
+            unmap();
+#else
+            killLastResultRegister();
+#endif
             return functionCall;
         }