v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
maglev-code-gen-state-inl.h
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#ifndef V8_MAGLEV_MAGLEV_CODE_GEN_STATE_INL_H_
6#define V8_MAGLEV_MAGLEV_CODE_GEN_STATE_INL_H_
7
10
11namespace v8 {
12namespace internal {
13namespace maglev {
14
16 if (!real_jump_target_[block->id()]) {
17 real_jump_target_[block->id()] = block->ComputeRealJumpTarget();
18 }
19 return real_jump_target_[block->id()];
20}
21
22} // namespace maglev
23} // namespace internal
24} // namespace v8
25
26#endif // V8_MAGLEV_MAGLEV_CODE_GEN_STATE_INL_H_