Commit ef2eb933 authored by Sigurd Schneider's avatar Sigurd Schneider Committed by Commit Bot

[cctest] Add V8_EXPORT_PRIVATE for cctest (src/interpreter part)

Bug: v8:9020
Change-Id: Ic949775e018d2bad08fc36db8cdf912df3d67e65
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1552779Reviewed-by: 's avatarMichael Starzinger <mstarzinger@chromium.org>
Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
Cr-Commit-Position: refs/heads/master@{#60629}
parent f72b919b
......@@ -50,7 +50,7 @@ class IntrinsicsHelper {
};
STATIC_ASSERT(static_cast<uint32_t>(IntrinsicId::kIdCount) <= kMaxUInt8);
static bool IsSupported(Runtime::FunctionId function_id);
V8_EXPORT_PRIVATE static bool IsSupported(Runtime::FunctionId function_id);
static IntrinsicId FromRuntimeId(Runtime::FunctionId function_id);
static Runtime::FunctionId ToRuntimeId(IntrinsicId intrinsic_id);
......
......@@ -38,7 +38,7 @@ class Interpreter {
virtual ~Interpreter() = default;
// Returns the interrupt budget which should be used for the profiler counter.
static int InterruptBudget();
V8_EXPORT_PRIVATE static int InterruptBudget();
// Creates a compilation job which will generate bytecode for |literal|.
// Additionally, if |eager_inner_literals| is not null, adds any eagerly
......@@ -50,7 +50,8 @@ class Interpreter {
// If the bytecode handler for |bytecode| and |operand_scale| has not yet
// been loaded, deserialize it. Then return the handler.
Code GetBytecodeHandler(Bytecode bytecode, OperandScale operand_scale);
V8_EXPORT_PRIVATE Code GetBytecodeHandler(Bytecode bytecode,
OperandScale operand_scale);
// Set the bytecode handler for |bytecode| and |operand_scale|.
void SetBytecodeHandler(Bytecode bytecode, OperandScale operand_scale,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment