Bug 782871 (part 2) - Rename the |TreeContext| module as |SharedContext|. r=jorendorff.

--HG--
rename : js/src/frontend/TreeContext-inl.h => js/src/frontend/SharedContext-inl.h
rename : js/src/frontend/TreeContext.h => js/src/frontend/SharedContext.h
This commit is contained in:
Nicholas Nethercote 2012-08-16 22:05:51 -07:00
parent ca12a195c0
commit 52fc19d5d1
9 changed files with 14 additions and 14 deletions

View File

@ -18,7 +18,7 @@
#include "frontend/ParseMaps-inl.h"
#include "frontend/Parser-inl.h"
#include "frontend/TreeContext-inl.h"
#include "frontend/SharedContext-inl.h"
using namespace js;
using namespace js::frontend;

View File

@ -44,7 +44,7 @@
#include "frontend/ParseMaps-inl.h"
#include "frontend/ParseNode-inl.h"
#include "frontend/TreeContext-inl.h"
#include "frontend/SharedContext-inl.h"
/* Allocation chunk counts, must be powers of two in general. */
#define BYTECODE_CHUNK_LENGTH 1024 /* initial bytecode chunk length */

View File

@ -20,7 +20,7 @@
#include "frontend/Parser.h"
#include "frontend/ParseMaps.h"
#include "frontend/TreeContext.h"
#include "frontend/SharedContext.h"
#include "vm/ScopeObject.h"

View File

@ -57,7 +57,7 @@
#include "frontend/ParseMaps-inl.h"
#include "frontend/ParseNode-inl.h"
#include "frontend/Parser-inl.h"
#include "frontend/TreeContext-inl.h"
#include "frontend/SharedContext-inl.h"
#include "vm/NumericConversions.h"
#include "vm/RegExpObject-inl.h"

View File

@ -20,7 +20,7 @@
#include "frontend/ParseMaps.h"
#include "frontend/ParseNode.h"
#include "frontend/TreeContext.h"
#include "frontend/SharedContext.h"
namespace js {
namespace frontend {

View File

@ -10,7 +10,7 @@
#include "jsfun.h"
#include "frontend/Parser.h"
#include "frontend/TreeContext.h"
#include "frontend/SharedContext.h"
#include "jsobjinlines.h"
#include "jsfuninlines.h"

View File

@ -5,11 +5,11 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef TreeContext_inl_h__
#define TreeContext_inl_h__
#ifndef SharedContext_inl_h__
#define SharedContext_inl_h__
#include "frontend/Parser.h"
#include "frontend/TreeContext.h"
#include "frontend/SharedContext.h"
namespace js {
namespace frontend {
@ -132,4 +132,4 @@ frontend::LexicalLookup(ContextT *ct, HandleAtom atom, int *slotp, typename Cont
} // namespace js
#endif // TreeContext_inl_h__
#endif // SharedContext_inl_h__

View File

@ -5,8 +5,8 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef TreeContext_h__
#define TreeContext_h__
#ifndef SharedContext_h__
#define SharedContext_h__
#include "jstypes.h"
#include "jsatom.h"
@ -363,4 +363,4 @@ LexicalLookup(ContextT *ct, HandleAtom atom, int *slotp, typename ContextT::Stmt
} // namespace js
#endif // TreeContext_h__
#endif // SharedContext_h__

View File

@ -42,7 +42,7 @@
#include "jsobjinlines.h"
#include "jsscriptinlines.h"
#include "frontend/TreeContext-inl.h"
#include "frontend/SharedContext-inl.h"
#include "vm/RegExpObject-inl.h"
using namespace js;