2008-05-22 Kevin McCullough <kmccullough@apple.com>
authorkmccullough@apple.com <kmccullough@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 22 May 2008 22:22:28 +0000 (22:22 +0000)
committerkmccullough@apple.com <kmccullough@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 22 May 2008 22:22:28 +0000 (22:22 +0000)
        Build fix.

        * VM/Machine.cpp:
        (KJS::callEval):

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

JavaScriptCore/ChangeLog
JavaScriptCore/VM/Machine.cpp

index 28a2df4..f2368c5 100644 (file)
@@ -1,5 +1,12 @@
 2008-05-22  Kevin McCullough  <kmccullough@apple.com>
 
+        Build fix.
+
+        * VM/Machine.cpp:
+        (KJS::callEval):
+
+2008-05-22  Kevin McCullough  <kmccullough@apple.com>
+
         Reviewed by Sam.
 
         <rdar://problem/5951561> Turn on JavaScript Profiler
index 0293c1d..0865a98 100644 (file)
@@ -1856,7 +1856,7 @@ JSValue* Machine::privateExecute(ExecutionFlag flag, ExecState* exec, RegisterFi
 
             registerFile->setSafeForReentry(true);
 #if JAVASCRIPT_PROFILING
-            JSValue* result = callEval(exec, static_cast<JSObject*>(v), thisObject, scopeChain, registerFile, r, argv, argc, exceptionValue);
+            JSValue* result = callEval(exec, static_cast<JSObject*>(funcVal), thisObject, scopeChain, registerFile, r, argv, argc, exceptionValue);
 #else
             JSValue* result = callEval(exec, thisObject, scopeChain, registerFile, r, argv, argc, exceptionValue);
 #endif