Title: [199949] trunk/Source/_javascript_Core
- Revision
- 199949
- Author
- fpi...@apple.com
- Date
- 2016-04-23 09:38:23 -0700 (Sat, 23 Apr 2016)
Log Message
Unreviewed, unbreak cloop.
* runtime/VM.cpp:
(JSC::VM::getHostFunction):
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (199948 => 199949)
--- trunk/Source/_javascript_Core/ChangeLog 2016-04-23 15:18:08 UTC (rev 199948)
+++ trunk/Source/_javascript_Core/ChangeLog 2016-04-23 16:38:23 UTC (rev 199949)
@@ -1,3 +1,10 @@
+2016-04-23 Filip Pizlo <fpi...@apple.com>
+
+ Unreviewed, unbreak cloop.
+
+ * runtime/VM.cpp:
+ (JSC::VM::getHostFunction):
+
2016-04-22 Filip Pizlo <fpi...@apple.com>
Speed up bound functions a bit
Modified: trunk/Source/_javascript_Core/runtime/VM.cpp (199948 => 199949)
--- trunk/Source/_javascript_Core/runtime/VM.cpp 2016-04-23 15:18:08 UTC (rev 199948)
+++ trunk/Source/_javascript_Core/runtime/VM.cpp 2016-04-23 16:38:23 UTC (rev 199949)
@@ -502,7 +502,7 @@
}
}
-#endif // !ENABLE(JIT)
+#endif // ENABLE(JIT)
NativeExecutable* VM::getHostFunction(NativeFunction function, NativeFunction constructor, const String& name)
{
@@ -511,12 +511,16 @@
NativeExecutable* VM::getHostFunction(NativeFunction function, Intrinsic intrinsic, NativeFunction constructor, const String& name)
{
+#if ENABLE(JIT)
if (canUseJIT()) {
return jitStubs->hostFunctionStub(
this, function, constructor,
intrinsic != NoIntrinsic ? thunkGeneratorForIntrinsic(intrinsic) : 0,
intrinsic, name);
}
+#else // ENABLE(JIT)
+ UNUSED_PARAM(intrinsic);
+#endif // ENABLE(JIT)
return NativeExecutable::create(*this,
adoptRef(new NativeJITCode(MacroAssemblerCodeRef::createLLIntCodeRef(llint_native_call_trampoline), JITCode::HostCallThunk)), function,
adoptRef(new NativeJITCode(MacroAssemblerCodeRef::createLLIntCodeRef(llint_native_construct_trampoline), JITCode::HostCallThunk)), constructor,
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes