Bug 872416, part 3 - Make frontend/BytecodeCompiler.h not include frontend/Parser.h. r=luke.

This commit is contained in:
Jason Orendorff 2013-06-04 16:24:42 -05:00
parent 6efe7b3485
commit 606bb7c3d3
3 changed files with 7 additions and 8 deletions

View File

@ -7,6 +7,7 @@
#include "frontend/BytecodeCompiler.h"
#include "jsprobes.h"
#include "jsscript.h"
#include "frontend/BytecodeEmitter.h"
#include "frontend/FoldConstants.h"

View File

@ -7,7 +7,8 @@
#ifndef BytecodeCompiler_h__
#define BytecodeCompiler_h__
#include "frontend/Parser.h"
#include "jsapi.h"
#include "jsprvtd.h"
namespace js {
namespace frontend {

View File

@ -56,13 +56,7 @@ typedef struct JSStackHeader JSStackHeader;
typedef struct JSSubString JSSubString;
typedef struct JSSpecializedNative JSSpecializedNative;
/*
* Template declarations.
*
* jsprvtd.h can be included in both C and C++ translation units. For C++, it
* may possibly be wrapped in an extern "C" block which does not agree with
* templates.
*/
/* String typedefs. */
class JSDependentString;
class JSExtensibleString;
class JSExternalString;
@ -76,6 +70,7 @@ namespace js {
struct ArgumentsData;
struct Class;
class AutoNameVector;
class RegExpGuard;
class RegExpObject;
class RegExpObjectBuilder;
@ -146,6 +141,8 @@ typedef JSPropertyOp PropertyOp;
typedef JSStrictPropertyOp StrictPropertyOp;
typedef JSPropertyDescriptor PropertyDescriptor;
struct SourceCompressionToken;
namespace frontend {
struct BytecodeEmitter;