v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
template-objects.h
Go to the documentation of this file.
1// Copyright 2017 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_TEMPLATE_OBJECTS_H_
6#define V8_OBJECTS_TEMPLATE_OBJECTS_H_
7
11
12// Has to be the last include (doesn't have include guards):
14
15namespace v8 {
16namespace internal {
17
18class Oddball;
19class StructBodyDescriptor;
20
21#include "torque-generated/src/objects/template-objects-tq.inc"
22
23// TemplateObjectDescription is a tuple of raw strings and cooked strings for
24// tagged template literals. Used to communicate with the runtime for template
25// object creation within the {Runtime_GetTemplateObject} method.
27 : public TorqueGeneratedTemplateObjectDescription<TemplateObjectDescription,
28 Struct> {
29 public:
33 DirectHandle<SharedFunctionInfo> shared_info, int slot_id);
34
36
38};
39
40} // namespace internal
41} // namespace v8
42
44
45#endif // V8_OBJECTS_TEMPLATE_OBJECTS_H_
static DirectHandle< JSArray > GetTemplateObject(Isolate *isolate, DirectHandle< NativeContext > native_context, DirectHandle< TemplateObjectDescription > description, DirectHandle< SharedFunctionInfo > shared_info, int slot_id)
!IsContextMap !IsContextMap native_context
Definition map-inl.h:877
#define TQ_OBJECT_CONSTRUCTORS(Type)