v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
js-raw-json-inl.h
Go to the documentation of this file.
1// Copyright 2022 the V8 project authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef V8_OBJECTS_JS_RAW_JSON_INL_H_
6#define V8_OBJECTS_JS_RAW_JSON_INL_H_
7
9// Include the non-inl header before the rest of the headers.
10
12
13// Has to be the last include (doesn't have include guards):
15
16namespace v8 {
17namespace internal {
18
19#include "torque-generated/src/objects/js-raw-json-tq-inl.inc"
20
22
23bool JSRawJson::HasInitialLayout(Isolate* isolate) const {
24 return map() == *isolate->js_raw_json_map();
25}
26
27} // namespace internal
28} // namespace v8
29
31
32#endif // V8_OBJECTS_JS_RAW_JSON_INL_H_
std::map< const std::string, const std::string > map
#define TQ_OBJECT_CONSTRUCTORS_IMPL(Type)