v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
osr.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/compiler/osr.h"
6
10
11namespace v8 {
12namespace internal {
13namespace compiler {
14
16 : parameter_count_(info->bytecode_array()->parameter_count()),
17 stack_slot_count_(UnoptimizedFrameConstants::RegisterStackSlotCount(
18 info->bytecode_array()->register_count()) +
19 UnoptimizedFrameConstants::kExtraSlotCount) {}
20
22 // The optimized frame will subsume the unoptimized frame. Do so by reserving
23 // the first spill slots.
25}
26
27} // namespace compiler
28} // namespace internal
29} // namespace v8
int16_t parameter_count
Definition builtins.cc:67
int ReserveSpillSlots(size_t slot_count)
Definition frame.h:180
V8_EXPORT_PRIVATE void SetupFrame(Frame *frame)
Definition osr.cc:21
OsrHelper(OptimizedCompilationInfo *info)
Definition osr.cc:15