Changeset 179816 in webkit


Ignore:
Timestamp:
Feb 8, 2015 6:40:09 PM (9 years ago)
Author:
benjamin@webkit.org
Message:

Remove useless declarations and a stale comment from DFGByteCodeParser.h
https://bugs.webkit.org/show_bug.cgi?id=141361

Reviewed by Darin Adler.

The comment refers to the original form of the ByteCodeParser:

parse(Graph&, JSGlobalData*, CodeBlock*, unsigned startIndex);

That form is long dead, the comment is more misleading than anything.

  • dfg/DFGByteCodeParser.cpp:
  • dfg/DFGByteCodeParser.h:
Location:
trunk/Source/JavaScriptCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r179815 r179816  
     12015-02-08  Benjamin Poulain  <benjamin@webkit.org>
     2
     3        Remove useless declarations and a stale comment from DFGByteCodeParser.h
     4        https://bugs.webkit.org/show_bug.cgi?id=141361
     5
     6        Reviewed by Darin Adler.
     7
     8        The comment refers to the original form of the ByteCodeParser:
     9            parse(Graph&, JSGlobalData*, CodeBlock*, unsigned startIndex);
     10
     11        That form is long dead, the comment is more misleading than anything.
     12
     13        * dfg/DFGByteCodeParser.cpp:
     14        * dfg/DFGByteCodeParser.h:
     15
    1162015-02-08  Benjamin Poulain  <benjamin@webkit.org>
    217
  • trunk/Source/JavaScriptCore/dfg/DFGByteCodeParser.cpp

    r179478 r179816  
    3636#include "DFGArrayMode.h"
    3737#include "DFGCapabilities.h"
     38#include "DFGGraph.h"
    3839#include "DFGJITCode.h"
    3940#include "GetByIdStatus.h"
  • trunk/Source/JavaScriptCore/dfg/DFGByteCodeParser.h

    r153144 r179816  
    2929#if ENABLE(DFG_JIT)
    3030
    31 #include "DFGGraph.h"
     31namespace JSC { namespace DFG {
    3232
    33 namespace JSC {
     33class Graph;
    3434
    35 class CodeBlock;
    36 class VM;
    37 
    38 namespace DFG {
    39 
    40 // Populate the Graph with a basic block of code from the CodeBlock,
    41 // starting at the provided bytecode index.
    4235bool parse(Graph&);
    4336
Note: See TracChangeset for help on using the changeset viewer.