зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1065716 - Move jsonparser to vm/JSONParser. r=Waldo
--HG-- rename : js/src/jsonparser.cpp => js/src/vm/JSONParser.cpp rename : js/src/jsonparser.h => js/src/vm/JSONParser.h
This commit is contained in:
Родитель
f26be8e3fa
Коммит
4efe856074
|
@ -10,10 +10,10 @@
|
|||
#include "mozilla/Range.h"
|
||||
|
||||
#include "jscntxt.h"
|
||||
#include "jsonparser.h"
|
||||
|
||||
#include "frontend/BytecodeCompiler.h"
|
||||
#include "vm/GlobalObject.h"
|
||||
#include "vm/JSONParser.h"
|
||||
|
||||
#include "vm/Interpreter-inl.h"
|
||||
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
|
||||
#include "jscntxt.h"
|
||||
#include "jsgc.h"
|
||||
#include "jsonparser.h"
|
||||
#include "jsprf.h"
|
||||
#include "jstypes.h"
|
||||
#include "jswatchpoint.h"
|
||||
|
@ -25,6 +24,7 @@
|
|||
#include "jit/IonMacroAssembler.h"
|
||||
#include "js/HashTable.h"
|
||||
#include "vm/Debugger.h"
|
||||
#include "vm/JSONParser.h"
|
||||
#include "vm/PropDesc.h"
|
||||
|
||||
#include "jsgcinlines.h"
|
||||
|
|
|
@ -14,12 +14,12 @@
|
|||
#include "jscntxt.h"
|
||||
#include "jsnum.h"
|
||||
#include "jsobj.h"
|
||||
#include "jsonparser.h"
|
||||
#include "jsstr.h"
|
||||
#include "jstypes.h"
|
||||
#include "jsutil.h"
|
||||
|
||||
#include "vm/Interpreter.h"
|
||||
#include "vm/JSONParser.h"
|
||||
#include "vm/StringBuffer.h"
|
||||
|
||||
#include "jsatominlines.h"
|
||||
|
|
|
@ -215,7 +215,6 @@ UNIFIED_SOURCES += [
|
|||
'jsnum.cpp',
|
||||
'jsobj.cpp',
|
||||
'json.cpp',
|
||||
'jsonparser.cpp',
|
||||
'jsopcode.cpp',
|
||||
'jsprf.cpp',
|
||||
'jspropertytree.cpp',
|
||||
|
@ -249,6 +248,7 @@ UNIFIED_SOURCES += [
|
|||
'vm/HelperThreads.cpp',
|
||||
'vm/Id.cpp',
|
||||
'vm/Interpreter.cpp',
|
||||
'vm/JSONParser.cpp',
|
||||
'vm/MemoryMetrics.cpp',
|
||||
'vm/Monitor.cpp',
|
||||
'vm/ObjectImpl.cpp',
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* 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/. */
|
||||
|
||||
#include "jsonparser.h"
|
||||
#include "vm/JSONParser.h"
|
||||
|
||||
#include "mozilla/Range.h"
|
||||
#include "mozilla/RangedPtr.h"
|
|
@ -4,8 +4,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 jsonparser_h
|
||||
#define jsonparser_h
|
||||
#ifndef vm_JSONParser_h
|
||||
#define vm_JSONParser_h
|
||||
|
||||
#include "mozilla/Attributes.h"
|
||||
#include "mozilla/Range.h"
|
||||
|
@ -237,4 +237,4 @@ class MOZ_STACK_CLASS JSONParser : public JSONParserBase
|
|||
|
||||
} /* namespace js */
|
||||
|
||||
#endif /* jsonparser_h */
|
||||
#endif /* vm_JSONParser_h */
|
Загрузка…
Ссылка в новой задаче