Commit 93aeb582 authored by Sigurd Schneider's avatar Sigurd Schneider Committed by Commit Bot

[torque] Add V8_EXPORT_PRIVATE to test assembler

Change-Id: Ib3affef6a02a017ade2468dff58c58320e1cde42
Bug: v8:9020
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1557144Reviewed-by: 's avatarTobias Tebbi <tebbi@chromium.org>
Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
Cr-Commit-Position: refs/heads/master@{#60679}
parent f7f24659
......@@ -84,7 +84,11 @@ void ImplementationVisitor::BeginNamespaceFile(Namespace* nspace) {
<< "namespace internal {\n"
<< "\n";
header << "class " << nspace->ExternalName() << " {\n";
header << "class ";
if (nspace->IsTestNamespace()) {
header << "V8_EXPORT_PRIVATE ";
}
header << nspace->ExternalName() << " {\n";
header << " public:\n";
header << " explicit " << nspace->ExternalName()
<< "(compiler::CodeAssemblerState* state) : state_(state), ca_(state) "
......
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