Index: src/interpreter/bytecode-array-builder.h |
diff --git a/src/interpreter/bytecode-array-builder.h b/src/interpreter/bytecode-array-builder.h |
index c82e05fcac07aba3c4387f77cfce3ec0fac87a33..3930a06e1b6f64e60bd6718916a5ccb152195f93 100644 |
--- a/src/interpreter/bytecode-array-builder.h |
+++ b/src/interpreter/bytecode-array-builder.h |
@@ -232,8 +232,6 @@ class BytecodeArrayBuilder final : public ZoneObject { |
BytecodeArrayBuilder& ReThrow(); |
BytecodeArrayBuilder& Return(); |
- BytecodeArrayBuilder& Illegal(); |
- |
// Debugger. |
BytecodeArrayBuilder& Debugger(); |
@@ -334,6 +332,11 @@ class BytecodeArrayBuilder final : public ZoneObject { |
// Gets a constant pool entry for the |object|. |
size_t GetConstantPoolEntry(Handle<Object> object); |
+ // Not implemented as the illegal bytecode is used inside internally |
+ // to indicate a bytecode field is not valid or an error has occured |
+ // during bytecode generation. |
+ BytecodeArrayBuilder& Illegal(); |
+ |
Isolate* isolate() const { return isolate_; } |
BytecodeArrayWriter* bytecode_array_writer() { |
return &bytecode_array_writer_; |