Commit 93d3b717 authored by Yang Guo's avatar Yang Guo Committed by Commit Bot

Move JSON files to src/json

R=verwaest@chromium.org

Bug: v8:9247
Change-Id: I747c13cc8517858872c85fc93d0e95af4968e1b2
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1617934Reviewed-by: 's avatarToon Verwaest <verwaest@chromium.org>
Commit-Queue: Yang Guo <yangguo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#61675}
parent e534271e
......@@ -2375,10 +2375,10 @@ v8_source_set("v8_base_without_compiler") {
"src/isolate-inl.h",
"src/isolate.cc",
"src/isolate.h",
"src/json-parser.cc",
"src/json-parser.h",
"src/json-stringifier.cc",
"src/json-stringifier.h",
"src/json/json-parser.cc",
"src/json/json-parser.h",
"src/json/json-stringifier.cc",
"src/json/json-stringifier.h",
"src/keys.cc",
"src/keys.h",
"src/label.h",
......
......@@ -47,8 +47,8 @@
#include "src/init/icu_util.h"
#include "src/init/startup-data-util.h"
#include "src/isolate-inl.h"
#include "src/json-parser.h"
#include "src/json-stringifier.h"
#include "src/json/json-parser.h"
#include "src/json/json-stringifier.h"
#include "src/logging/counters.h"
#include "src/messages.h"
#include "src/microtask-queue.h"
......
......@@ -4,8 +4,8 @@
#include "src/builtins/builtins-utils-inl.h"
#include "src/builtins/builtins.h"
#include "src/json-parser.h"
#include "src/json-stringifier.h"
#include "src/json/json-parser.h"
#include "src/json/json-stringifier.h"
#include "src/logging/counters.h"
#include "src/objects-inl.h"
......
......@@ -6,7 +6,7 @@
#include "src/builtins/builtins-utils-inl.h"
#include "src/builtins/builtins.h"
#include "src/heap/heap-inl.h" // For ToBoolean. TODO(jkummerow): Drop.
#include "src/json-stringifier.h"
#include "src/json/json-stringifier.h"
#include "src/logging/counters.h"
#include "src/objects-inl.h"
......
ishell@chromium.org
verwaest@chromium.org
yangguo@chromium.org
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/json-parser.h"
#include "src/json/json-parser.h"
#include "src/char-predicates-inl.h"
#include "src/debug/debug.h"
......
......@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_JSON_PARSER_H_
#define V8_JSON_PARSER_H_
#ifndef V8_JSON_JSON_PARSER_H_
#define V8_JSON_JSON_PARSER_H_
#include "src/heap/factory.h"
#include "src/isolate.h"
......@@ -356,4 +356,4 @@ extern template class JsonParser<uint16_t>;
} // namespace internal
} // namespace v8
#endif // V8_JSON_PARSER_H_
#endif // V8_JSON_JSON_PARSER_H_
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/json-stringifier.h"
#include "src/json/json-stringifier.h"
#include "src/message-template.h"
#include "src/numbers/conversions.h"
......
......@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_JSON_STRINGIFIER_H_
#define V8_JSON_STRINGIFIER_H_
#ifndef V8_JSON_JSON_STRINGIFIER_H_
#define V8_JSON_JSON_STRINGIFIER_H_
#include "src/objects.h"
......@@ -17,4 +17,4 @@ V8_WARN_UNUSED_RESULT MaybeHandle<Object> JsonStringify(Isolate* isolate,
} // namespace internal
} // namespace v8
#endif // V8_JSON_STRINGIFIER_H_
#endif // V8_JSON_JSON_STRINGIFIER_H_
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment