Title: [160092] trunk/Source/_javascript_Core
Revision
160092
Author
[email protected]
Date
2013-12-04 06:43:30 -0800 (Wed, 04 Dec 2013)

Log Message

Remove stdio.h from JSC files.
https://bugs.webkit.org/show_bug.cgi?id=125220

Patch by László Langó <[email protected]> on 2013-12-04
Reviewed by Michael Saboff.

* interpreter/VMInspector.cpp:
* jit/JITArithmetic.cpp:
* jit/JITArithmetic32_64.cpp:
* jit/JITCall.cpp:
* jit/JITCall32_64.cpp:
* jit/JITPropertyAccess.cpp:
* jit/JITPropertyAccess32_64.cpp:
* runtime/Completion.cpp:
* runtime/IndexingType.cpp:
* runtime/Lookup.h:
* runtime/Operations.cpp:
* runtime/Options.cpp:
* runtime/RegExp.cpp:

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (160091 => 160092)


--- trunk/Source/_javascript_Core/ChangeLog	2013-12-04 14:42:09 UTC (rev 160091)
+++ trunk/Source/_javascript_Core/ChangeLog	2013-12-04 14:43:30 UTC (rev 160092)
@@ -1,5 +1,26 @@
 2013-12-04  László Langó  <[email protected]>
 
+        Remove stdio.h from JSC files.
+        https://bugs.webkit.org/show_bug.cgi?id=125220
+
+        Reviewed by Michael Saboff.
+
+        * interpreter/VMInspector.cpp:
+        * jit/JITArithmetic.cpp:
+        * jit/JITArithmetic32_64.cpp:
+        * jit/JITCall.cpp:
+        * jit/JITCall32_64.cpp:
+        * jit/JITPropertyAccess.cpp:
+        * jit/JITPropertyAccess32_64.cpp:
+        * runtime/Completion.cpp:
+        * runtime/IndexingType.cpp:
+        * runtime/Lookup.h:
+        * runtime/Operations.cpp:
+        * runtime/Options.cpp:
+        * runtime/RegExp.cpp:
+
+2013-12-04  László Langó  <[email protected]>
+
         Avoid to add zero offset in BaseIndex.
         https://bugs.webkit.org/show_bug.cgi?id=125215
 

Modified: trunk/Source/_javascript_Core/interpreter/VMInspector.cpp (160091 => 160092)


--- trunk/Source/_javascript_Core/interpreter/VMInspector.cpp	2013-12-04 14:42:09 UTC (rev 160091)
+++ trunk/Source/_javascript_Core/interpreter/VMInspector.cpp	2013-12-04 14:43:30 UTC (rev 160092)
@@ -28,7 +28,6 @@
 
 #if ENABLE(VMINSPECTOR)
 
-#include <stdio.h>
 #include <wtf/ASCIICType.h>
 #include <wtf/text/WTFString.h>
 

Modified: trunk/Source/_javascript_Core/jit/JITArithmetic.cpp (160091 => 160092)


--- trunk/Source/_javascript_Core/jit/JITArithmetic.cpp	2013-12-04 14:42:09 UTC (rev 160091)
+++ trunk/Source/_javascript_Core/jit/JITArithmetic.cpp	2013-12-04 14:43:30 UTC (rev 160092)
@@ -40,12 +40,7 @@
 #include "SamplingTool.h"
 #include "SlowPathCall.h"
 
-#ifndef NDEBUG
-#include <stdio.h>
-#endif
 
-using namespace std;
-
 namespace JSC {
 
 void JIT::emit_op_jless(Instruction* currentInstruction)

Modified: trunk/Source/_javascript_Core/jit/JITArithmetic32_64.cpp (160091 => 160092)


--- trunk/Source/_javascript_Core/jit/JITArithmetic32_64.cpp	2013-12-04 14:42:09 UTC (rev 160091)
+++ trunk/Source/_javascript_Core/jit/JITArithmetic32_64.cpp	2013-12-04 14:43:30 UTC (rev 160092)
@@ -40,12 +40,7 @@
 #include "SamplingTool.h"
 #include "SlowPathCall.h"
 
-#ifndef NDEBUG
-#include <stdio.h>
-#endif
 
-using namespace std;
-
 namespace JSC {
 
 void JIT::emit_op_negate(Instruction* currentInstruction)

Modified: trunk/Source/_javascript_Core/jit/JITCall.cpp (160091 => 160092)


--- trunk/Source/_javascript_Core/jit/JITCall.cpp	2013-12-04 14:42:09 UTC (rev 160091)
+++ trunk/Source/_javascript_Core/jit/JITCall.cpp	2013-12-04 14:43:30 UTC (rev 160092)
@@ -42,12 +42,7 @@
 #include "ThunkGenerators.h"
 #include <wtf/StringPrintStream.h>
 
-#ifndef NDEBUG
-#include <stdio.h>
-#endif
 
-using namespace std;
-
 namespace JSC {
 
 void JIT::emitPutCallResult(Instruction* instruction)

Modified: trunk/Source/_javascript_Core/jit/JITCall32_64.cpp (160091 => 160092)


--- trunk/Source/_javascript_Core/jit/JITCall32_64.cpp	2013-12-04 14:42:09 UTC (rev 160091)
+++ trunk/Source/_javascript_Core/jit/JITCall32_64.cpp	2013-12-04 14:43:30 UTC (rev 160092)
@@ -41,12 +41,7 @@
 #include "SamplingTool.h"
 #include <wtf/StringPrintStream.h>
 
-#ifndef NDEBUG
-#include <stdio.h>
-#endif
 
-using namespace std;
-
 namespace JSC {
 
 void JIT::emitPutCallResult(Instruction* instruction)

Modified: trunk/Source/_javascript_Core/jit/JITPropertyAccess.cpp (160091 => 160092)


--- trunk/Source/_javascript_Core/jit/JITPropertyAccess.cpp	2013-12-04 14:42:09 UTC (rev 160091)
+++ trunk/Source/_javascript_Core/jit/JITPropertyAccess.cpp	2013-12-04 14:43:30 UTC (rev 160092)
@@ -43,12 +43,7 @@
 #include "SamplingTool.h"
 #include <wtf/StringPrintStream.h>
 
-#ifndef NDEBUG
-#include <stdio.h>
-#endif
 
-using namespace std;
-
 namespace JSC {
 #if USE(JSVALUE64)
 

Modified: trunk/Source/_javascript_Core/jit/JITPropertyAccess32_64.cpp (160091 => 160092)


--- trunk/Source/_javascript_Core/jit/JITPropertyAccess32_64.cpp	2013-12-04 14:42:09 UTC (rev 160091)
+++ trunk/Source/_javascript_Core/jit/JITPropertyAccess32_64.cpp	2013-12-04 14:43:30 UTC (rev 160092)
@@ -43,12 +43,7 @@
 #include "SamplingTool.h"
 #include <wtf/StringPrintStream.h>
 
-#ifndef NDEBUG
-#include <stdio.h>
-#endif
 
-using namespace std;
-
 namespace JSC {
     
 void JIT::emit_op_put_by_index(Instruction* currentInstruction)

Modified: trunk/Source/_javascript_Core/runtime/Completion.cpp (160091 => 160092)


--- trunk/Source/_javascript_Core/runtime/Completion.cpp	2013-12-04 14:42:09 UTC (rev 160091)
+++ trunk/Source/_javascript_Core/runtime/Completion.cpp	2013-12-04 14:43:30 UTC (rev 160092)
@@ -32,7 +32,6 @@
 #include "Operations.h"
 #include "Parser.h"
 #include <wtf/WTFThreadData.h>
-#include <stdio.h>
 
 namespace JSC {
 

Modified: trunk/Source/_javascript_Core/runtime/IndexingType.cpp (160091 => 160092)


--- trunk/Source/_javascript_Core/runtime/IndexingType.cpp	2013-12-04 14:42:09 UTC (rev 160091)
+++ trunk/Source/_javascript_Core/runtime/IndexingType.cpp	2013-12-04 14:43:30 UTC (rev 160092)
@@ -26,7 +26,6 @@
 #include "config.h"
 #include "IndexingType.h"
 
-#include <stdio.h>
 #include <wtf/StringExtras.h>
 
 namespace JSC {

Modified: trunk/Source/_javascript_Core/runtime/Lookup.h (160091 => 160092)


--- trunk/Source/_javascript_Core/runtime/Lookup.h	2013-12-04 14:42:09 UTC (rev 160091)
+++ trunk/Source/_javascript_Core/runtime/Lookup.h	2013-12-04 14:43:30 UTC (rev 160092)
@@ -26,7 +26,6 @@
 #include "Identifier.h"
 #include "JSGlobalObject.h"
 #include "PropertySlot.h"
-#include <stdio.h>
 #include <wtf/Assertions.h>
 
 namespace JSC {

Modified: trunk/Source/_javascript_Core/runtime/Operations.cpp (160091 => 160092)


--- trunk/Source/_javascript_Core/runtime/Operations.cpp	2013-12-04 14:42:09 UTC (rev 160091)
+++ trunk/Source/_javascript_Core/runtime/Operations.cpp	2013-12-04 14:43:30 UTC (rev 160092)
@@ -25,8 +25,6 @@
 #include "Error.h"
 #include "JSObject.h"
 #include "JSString.h"
-#include <math.h>
-#include <stdio.h>
 #include <wtf/MathExtras.h>
 
 namespace JSC {

Modified: trunk/Source/_javascript_Core/runtime/Options.cpp (160091 => 160092)


--- trunk/Source/_javascript_Core/runtime/Options.cpp	2013-12-04 14:42:09 UTC (rev 160091)
+++ trunk/Source/_javascript_Core/runtime/Options.cpp	2013-12-04 14:43:30 UTC (rev 160092)
@@ -29,7 +29,6 @@
 #include "HeapStatistics.h"
 #include <algorithm>
 #include <limits>
-#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <wtf/NumberOfCores.h>

Modified: trunk/Source/_javascript_Core/runtime/RegExp.cpp (160091 => 160092)


--- trunk/Source/_javascript_Core/runtime/RegExp.cpp	2013-12-04 14:42:09 UTC (rev 160091)
+++ trunk/Source/_javascript_Core/runtime/RegExp.cpp	2013-12-04 14:43:30 UTC (rev 160092)
@@ -28,13 +28,16 @@
 #include "RegExpCache.h"
 #include "Yarr.h"
 #include "YarrJIT.h"
+#include <wtf/Assertions.h>
+
+#define REGEXP_FUNC_TEST_DATA_GEN 0
+
+#if REGEXP_FUNC_TEST_DATA_GEN
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-#include <wtf/Assertions.h>
+#endif
 
-#define REGEXP_FUNC_TEST_DATA_GEN 0
-
 namespace JSC {
 
 const ClassInfo RegExp::s_info = { "RegExp", 0, 0, 0, CREATE_METHOD_TABLE(RegExp) };
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to