v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
builtins-utils-inl.h
Go to the documentation of this file.
1// Copyright 2018 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_BUILTINS_BUILTINS_UTILS_INL_H_
6#define V8_BUILTINS_BUILTINS_UTILS_INL_H_
7
9// Include the non-inl header before the rest of the headers.
10
12
13namespace v8 {
14namespace internal {
15
17 int index) const {
18 if (index >= length()) {
19 return isolate->factory()->undefined_value();
20 }
21 return at<Object>(index);
22}
23
27
31
35
36} // namespace internal
37} // namespace v8
38
39#endif // V8_BUILTINS_BUILTINS_UTILS_INL_H_
V8_INLINE Address * address_of_arg_at(int index) const
Definition arguments.h:73
static constexpr int kNewTargetIndex
Handle< JSFunction > target() const
Handle< S > at(int index) const
Handle< Object > atOrUndefined(Isolate *isolate, int index) const
Handle< JSAny > receiver() const
Handle< HeapObject > new_target() const
static constexpr int kTargetIndex
static constexpr int kReceiverIndex
Local< T > Handle