Commit 372bda6c authored by Ng Zhi An's avatar Ng Zhi An Committed by Commit Bot

[clang-tidy] Remove unneeded constructor

The constructor of ByteData isn't doing anything interesting, so
can be removed.

Bug: v8:10488
Change-Id: Ic114b947ff6471075c7df49c98ea7c59c5b522bc
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2233978
Commit-Queue: Zhi An Ng <zhin@chromium.org>
Reviewed-by: 's avatarYang Guo <yangguo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#68312}
parent a4dbf43e
...@@ -37,8 +37,6 @@ class BaseConsumedPreparseData : public ConsumedPreparseData { ...@@ -37,8 +37,6 @@ class BaseConsumedPreparseData : public ConsumedPreparseData {
public: public:
class ByteData : public PreparseByteDataConstants { class ByteData : public PreparseByteDataConstants {
public: public:
ByteData() {}
// Reading from the ByteData is only allowed when a ReadingScope is on the // Reading from the ByteData is only allowed when a ReadingScope is on the
// stack. This ensures that we have a DisallowHeapAllocation in place // stack. This ensures that we have a DisallowHeapAllocation in place
// whenever ByteData holds a raw pointer into the heap. // whenever ByteData holds a raw pointer into the heap.
......
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