mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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:
parent
ca12a195c0
commit
52fc19d5d1
@ -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;
|
||||
|
@ -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 */
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
#include "frontend/Parser.h"
|
||||
#include "frontend/ParseMaps.h"
|
||||
#include "frontend/TreeContext.h"
|
||||
#include "frontend/SharedContext.h"
|
||||
|
||||
#include "vm/ScopeObject.h"
|
||||
|
||||
|
@ -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"
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
#include "frontend/ParseMaps.h"
|
||||
#include "frontend/ParseNode.h"
|
||||
#include "frontend/TreeContext.h"
|
||||
#include "frontend/SharedContext.h"
|
||||
|
||||
namespace js {
|
||||
namespace frontend {
|
||||
|
@ -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"
|
||||
|
@ -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__
|
@ -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__
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user