summaryrefslogtreecommitdiff
path: root/chromium/v8/src/interpreter/bytecode-array-random-iterator.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/v8/src/interpreter/bytecode-array-random-iterator.h')
-rw-r--r--chromium/v8/src/interpreter/bytecode-array-random-iterator.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/chromium/v8/src/interpreter/bytecode-array-random-iterator.h b/chromium/v8/src/interpreter/bytecode-array-random-iterator.h
index 68905a146cc..99fe758bbb9 100644
--- a/chromium/v8/src/interpreter/bytecode-array-random-iterator.h
+++ b/chromium/v8/src/interpreter/bytecode-array-random-iterator.h
@@ -23,6 +23,10 @@ class V8_EXPORT_PRIVATE BytecodeArrayRandomIterator final
BytecodeArrayRandomIterator(Handle<BytecodeArray> bytecode_array, Zone* zone);
+ BytecodeArrayRandomIterator(const BytecodeArrayRandomIterator&) = delete;
+ BytecodeArrayRandomIterator& operator=(const BytecodeArrayRandomIterator&) =
+ delete;
+
BytecodeArrayRandomIterator& operator++() {
++current_index_;
UpdateOffsetFromIndex();
@@ -72,8 +76,6 @@ class V8_EXPORT_PRIVATE BytecodeArrayRandomIterator final
void Initialize();
void UpdateOffsetFromIndex();
-
- DISALLOW_COPY_AND_ASSIGN(BytecodeArrayRandomIterator);
};
} // namespace interpreter