Title: [112285] trunk/Source/_javascript_Core
- Revision
- 112285
- Author
- [email protected]
- Date
- 2012-03-27 11:06:21 -0700 (Tue, 27 Mar 2012)
Log Message
Compiler warning when JIT is not enabled
https://bugs.webkit.org/show_bug.cgi?id=82352
Reviewed by Filip Pizlo.
* runtime/JSFunction.cpp:
(JSC::JSFunction::create):
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (112284 => 112285)
--- trunk/Source/_javascript_Core/ChangeLog 2012-03-27 18:03:32 UTC (rev 112284)
+++ trunk/Source/_javascript_Core/ChangeLog 2012-03-27 18:06:21 UTC (rev 112285)
@@ -1,3 +1,13 @@
+2012-03-27 Pratik Solanki <[email protected]>
+
+ Compiler warning when JIT is not enabled
+ https://bugs.webkit.org/show_bug.cgi?id=82352
+
+ Reviewed by Filip Pizlo.
+
+ * runtime/JSFunction.cpp:
+ (JSC::JSFunction::create):
+
2012-03-26 Thouraya ANDOLSI <[email protected]>
Unaligned userspace access for SH4 platforms
Modified: trunk/Source/_javascript_Core/runtime/JSFunction.cpp (112284 => 112285)
--- trunk/Source/_javascript_Core/runtime/JSFunction.cpp 2012-03-27 18:03:32 UTC (rev 112284)
+++ trunk/Source/_javascript_Core/runtime/JSFunction.cpp 2012-03-27 18:06:21 UTC (rev 112285)
@@ -62,7 +62,9 @@
JSFunction* JSFunction::create(ExecState* exec, JSGlobalObject* globalObject, int length, const Identifier& name, NativeFunction nativeFunction, Intrinsic intrinsic, NativeFunction nativeConstructor)
{
NativeExecutable* executable;
-#if ENABLE(JIT)
+#if !ENABLE(JIT)
+ UNUSED_PARAM(intrinsic);
+#else
if (intrinsic != NoIntrinsic && exec->globalData().canUseJIT()) {
ASSERT(nativeConstructor == callHostFunctionAsConstructor);
executable = exec->globalData().getHostFunction(nativeFunction, intrinsic);
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes