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"
9 
10 namespace v8 {
11 namespace internal {
12 
13 // static
15  Isolate* isolate, Handle<TypeFeedbackVector> vector) {
18  isolate->factory()->CopyFixedArray(Handle<FixedArray>::cast(vector)));
19  return result;
20 }
21 }
22 } // namespace v8::internal
static Handle< T > cast(Handle< S > that)
Definition: handles.h:116
Factory * factory()
Definition: isolate.h:982
static Handle< TypeFeedbackVector > Copy(Isolate *isolate, Handle< TypeFeedbackVector > vector)
Debugger support for the V8 JavaScript engine.
Definition: accessors.cc:20