• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_S390
7 
8 #include "src/codegen/cpu-features.h"
9 
10 namespace v8 {
11 namespace internal {
12 
FlushICache(void * buffer,size_t size)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_S390
25