blob: 88e5bd38cc030e667ae06095c29e0a5af1d665e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
// Copyright 2019 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_CODEGEN_FLUSH_INSTRUCTION_CACHE_H_
#define V8_CODEGEN_FLUSH_INSTRUCTION_CACHE_H_
#include "include/v8-internal.h"
#include "src/base/macros.h"
namespace v8 {
namespace internal {
V8_EXPORT_PRIVATE void FlushInstructionCache(void* start, size_t size);
V8_EXPORT_PRIVATE V8_INLINE void FlushInstructionCache(Address start,
size_t size) {
return FlushInstructionCache(reinterpret_cast<void*>(start), size);
}
} // namespace internal
} // namespace v8
#endif // V8_CODEGEN_FLUSH_INSTRUCTION_CACHE_H_
|