[build] Avoid 'using namespace' in gen-postmortem-metadata.py

This fixes jumbo builds with enabled v8_postmortem_support.

Bug: v8:8838
Change-Id: Idf2efc3b94104ca1921b6de121df1c0aa7f3452c
Reviewed-on: https://chromium-review.googlesource.com/c/1470102
Commit-Queue: Georg Neis <neis@chromium.org>
Reviewed-by: Sigurd Schneider <sigurds@chromium.org>
Cr-Commit-Position: refs/heads/master@{#59549}
This commit is contained in:
Georg Neis 2019-02-13 11:23:31 +01:00 committed by Commit Bot
parent da2300f66e
commit 6f66dcefda

View File

@ -317,7 +317,8 @@ header = '''
#include "src/objects/js-promise.h"
#include "src/objects/js-regexp-string-iterator.h"
using namespace v8::internal;
namespace v8 {
namespace internal {
extern "C" {
@ -333,6 +334,9 @@ STACK_FRAME_TYPE_LIST(FRAME_CONST)
footer = '''
}
}
}
'''
#