v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
runtime-temporal.cc
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
#include "
src/execution/isolate-inl.h
"
6
#include "
src/objects/js-temporal-objects.h
"
7
8
namespace
v8
{
9
namespace
internal
{
10
11
RUNTIME_FUNCTION
(Runtime_IsInvalidTemporalCalendarField) {
12
HandleScope
scope(isolate);
13
DCHECK_EQ
(2,
args
.length());
14
DirectHandle<String>
s =
args
.at<
String
>(0);
15
DirectHandle<FixedArray>
f =
args
.at<
FixedArray
>(1);
16
RETURN_RESULT_OR_FAILURE
(
17
isolate,
temporal::IsInvalidTemporalCalendarField
(isolate, s, f));
18
}
19
20
}
// namespace internal
21
}
// namespace v8
v8::internal::DirectHandle
Definition
handles.h:659
v8::internal::FixedArray
Definition
fixed-array.h:220
v8::internal::HandleScope
Definition
handles.h:262
v8::internal::String
Definition
string.h:113
RUNTIME_FUNCTION
#define RUNTIME_FUNCTION(Name)
Definition
arguments.h:162
isolate-inl.h
RETURN_RESULT_OR_FAILURE
#define RETURN_RESULT_OR_FAILURE(isolate, call)
Definition
isolate.h:264
args
base::Vector< const DirectHandle< Object > > args
Definition
execution.cc:74
js-temporal-objects.h
v8::internal::temporal::IsInvalidTemporalCalendarField
MaybeDirectHandle< Oddball > IsInvalidTemporalCalendarField(Isolate *isolate, DirectHandle< String > next_value, DirectHandle< FixedArray > fields_name)
Definition
js-temporal-objects.cc:18521
v8::internal::internal
internal
Definition
wasm-objects-inl.h:458
v8
Definition
api-arguments-inl.h:19
DCHECK_EQ
#define DCHECK_EQ(v1, v2)
Definition
logging.h:485
src
runtime
runtime-temporal.cc
Generated on Sun Apr 6 2025 21:08:57 for v8 by
1.12.0