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
9
10namespace v8 {
11namespace internal {
12
13void 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
static void FlushICache(void *start, size_t size)
Definition cpu-riscv.cc:15