fromGlobalCode has an unused Debugger* argument
[WebKit-https.git] / Source / JavaScriptCore / ChangeLog
index ed147f5d6ce32648618bc4d0195c7c85e9bd22ba..7b154b1c1f9013ead8611d3d846d2fbe0becb559 100644 (file)
@@ -1,3 +1,24 @@
+2015-03-07  Ryosuke Niwa  <rniwa@webkit.org>
+
+        fromGlobalCode has an unused Debugger* argument
+        https://bugs.webkit.org/show_bug.cgi?id=142430
+
+        Reviewed by Darin Adler.
+
+        Removed the debugger argument from UnlinkedFunctionExecutable::fromGlobalCode and
+        FunctionExecutable::fromGlobalCode since it's not used in either function.
+
+        Also use reference in other arguments.
+
+        * bytecode/UnlinkedCodeBlock.cpp:
+        (JSC::UnlinkedFunctionExecutable::fromGlobalCode):
+        * bytecode/UnlinkedCodeBlock.h:
+        * runtime/Executable.cpp:
+        (JSC::FunctionExecutable::fromGlobalCode):
+        * runtime/Executable.h:
+        * runtime/FunctionConstructor.cpp:
+        (JSC::constructFunctionSkippingEvalEnabledCheck):
+
 2015-03-06  Brent Fulgham  <bfulgham@apple.com>
 
         [Win] Turn off a warning on Windows.