OLD | NEW |
(Empty) | |
| 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 #include "src/v8.h" |
| 7 |
| 8 #if V8_TARGET_ARCH_S390 |
| 9 #include "src/assembler.h" |
| 10 |
| 11 namespace v8 { |
| 12 namespace internal { |
| 13 |
| 14 void 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 |
OLD | NEW |