Title: [153144] trunk/Source/_javascript_Core
Revision
153144
Author
[email protected]
Date
2013-07-24 20:59:32 -0700 (Wed, 24 Jul 2013)

Log Message

fourthTier: DFG::ByteCodeParser doesn't need ExecState*
https://bugs.webkit.org/show_bug.cgi?id=115582

Reviewed by Geoffrey Garen.

* dfg/DFGByteCodeParser.cpp:
(JSC::DFG::ByteCodeParser::ByteCodeParser):
(ByteCodeParser):
(JSC::DFG::parse):
* dfg/DFGByteCodeParser.h:
(DFG):
* dfg/DFGDriver.cpp:
(JSC::DFG::compile):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (153143 => 153144)


--- trunk/Source/_javascript_Core/ChangeLog	2013-07-25 03:59:31 UTC (rev 153143)
+++ trunk/Source/_javascript_Core/ChangeLog	2013-07-25 03:59:32 UTC (rev 153144)
@@ -1,3 +1,19 @@
+2013-05-03  Filip Pizlo  <[email protected]>
+
+        fourthTier: DFG::ByteCodeParser doesn't need ExecState*
+        https://bugs.webkit.org/show_bug.cgi?id=115582
+
+        Reviewed by Geoffrey Garen.
+
+        * dfg/DFGByteCodeParser.cpp:
+        (JSC::DFG::ByteCodeParser::ByteCodeParser):
+        (ByteCodeParser):
+        (JSC::DFG::parse):
+        * dfg/DFGByteCodeParser.h:
+        (DFG):
+        * dfg/DFGDriver.cpp:
+        (JSC::DFG::compile):
+
 2013-05-02  Filip Pizlo  <[email protected]>
 
         fourthTier: Profiler should be thread-safe

Modified: trunk/Source/_javascript_Core/dfg/DFGByteCodeParser.cpp (153143 => 153144)


--- trunk/Source/_javascript_Core/dfg/DFGByteCodeParser.cpp	2013-07-25 03:59:31 UTC (rev 153143)
+++ trunk/Source/_javascript_Core/dfg/DFGByteCodeParser.cpp	2013-07-25 03:59:32 UTC (rev 153144)
@@ -3793,11 +3793,10 @@
     return true;
 }
 
-bool parse(ExecState*, Graph& graph)
+bool parse(Graph& graph)
 {
     SamplingRegion samplingRegion("DFG Parsing");
 #if DFG_DEBUG_LOCAL_DISBALE
-    UNUSED_PARAM(exec);
     UNUSED_PARAM(graph);
     return false;
 #else

Modified: trunk/Source/_javascript_Core/dfg/DFGByteCodeParser.h (153143 => 153144)


--- trunk/Source/_javascript_Core/dfg/DFGByteCodeParser.h	2013-07-25 03:59:31 UTC (rev 153143)
+++ trunk/Source/_javascript_Core/dfg/DFGByteCodeParser.h	2013-07-25 03:59:32 UTC (rev 153144)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2011 Apple Inc. All rights reserved.
+ * Copyright (C) 2011, 2013 Apple Inc. All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
@@ -39,7 +39,7 @@
 
 // Populate the Graph with a basic block of code from the CodeBlock,
 // starting at the provided bytecode index.
-bool parse(ExecState*, Graph&);
+bool parse(Graph&);
 
 } } // namespace JSC::DFG
 

Modified: trunk/Source/_javascript_Core/dfg/DFGDriver.cpp (153143 => 153144)


--- trunk/Source/_javascript_Core/dfg/DFGDriver.cpp	2013-07-25 03:59:31 UTC (rev 153143)
+++ trunk/Source/_javascript_Core/dfg/DFGDriver.cpp	2013-07-25 03:59:32 UTC (rev 153144)
@@ -126,7 +126,7 @@
     }
     
     Graph dfg(exec->vm(), codeBlock, osrEntryBytecodeIndex, mustHandleValues);
-    if (!parse(exec, dfg))
+    if (!parse(dfg))
         return false;
     
     // By this point the DFG bytecode parser will have potentially mutated various tables
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to