v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
cpu-s390.cc
Go to the documentation of this file.
1
// Copyright 2015 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
// CPU specific code for s390 independent of OS goes here.
6
#if V8_TARGET_ARCH_S390X
7
8
#include "
src/codegen/cpu-features.h
"
9
10
namespace
v8
{
11
namespace
internal
{
12
13
void
CpuFeatures::FlushICache
(
void
* buffer,
size_t
size) {
14
// Given the strong memory model on z/Architecture, and the single
15
// thread nature of V8 and JavaScript, instruction cache flushing
16
// is not necessary. The architecture guarantees that if a core
17
// patches its own instruction cache, the updated instructions will be
18
// reflected automatically.
19
}
20
21
}
// namespace internal
22
}
// namespace v8
23
24
#endif
// V8_TARGET_ARCH_S390X
v8::internal::CpuFeatures::FlushICache
static void FlushICache(void *start, size_t size)
Definition
cpu-riscv.cc:15
cpu-features.h
v8::internal::internal
internal
Definition
wasm-objects-inl.h:458
v8
Definition
api-arguments-inl.h:19
src
codegen
s390
cpu-s390.cc
Generated on Sun Apr 6 2025 21:08:51 for v8 by
1.12.0