blob: d0d54a8a6b640c4ef058d27de681937506b75191 [file] [log] [blame]
Ben Murdochda12d292016-06-02 14:46:10 +01001// 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#include "src/v8.h"
7
8#if V8_TARGET_ARCH_S390
9#include "src/assembler.h"
10
11namespace v8 {
12namespace internal {
13
14void CpuFeatures::FlushICache(void* buffer, size_t size) {
15 // Given the strong memory model on z/Architecture, and the single
16 // thread nature of V8 and JavaScript, instruction cache flushing
17 // is not necessary. The architecture guarantees that if a core
18 // patches its own instruction cache, the updated instructions will be
19 // reflected automatically.
20}
21
22} // namespace internal
23} // namespace v8
24
25#endif // V8_TARGET_ARCH_S390