V8 Project
type-feedback-vector.cc
Go to the documentation of this file.
1
// Copyright 2014 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/v8.h
"
6
7
#include "
src/objects.h
"
8
#include "
src/type-feedback-vector-inl.h
"
9
10
namespace
v8
{
11
namespace
internal {
12
13
// static
14
Handle<TypeFeedbackVector>
TypeFeedbackVector::Copy
(
15
Isolate
* isolate,
Handle<TypeFeedbackVector>
vector) {
16
Handle<TypeFeedbackVector>
result;
17
result =
Handle<TypeFeedbackVector>::cast
(
18
isolate->
factory
()->CopyFixedArray(
Handle<FixedArray>::cast
(vector)));
19
return
result;
20
}
21
}
22
}
// namespace v8::internal
v8::internal::Handle
Definition:
handles.h:83
v8::internal::Handle::cast
static Handle< T > cast(Handle< S > that)
Definition:
handles.h:116
v8::internal::Isolate
Definition:
isolate.h:395
v8::internal::Isolate::factory
Factory * factory()
Definition:
isolate.h:982
v8::internal::TypeFeedbackVector::Copy
static Handle< TypeFeedbackVector > Copy(Isolate *isolate, Handle< TypeFeedbackVector > vector)
Definition:
type-feedback-vector.cc:14
v8
Debugger support for the V8 JavaScript engine.
Definition:
accessors.cc:20
objects.h
v8.h
type-feedback-vector-inl.h
mnt
V8SourceCode
src
type-feedback-vector.cc
Generated on Tue Jul 1 2025 02:36:48 for V8 Project by
1.9.1