Index: src/snapshot/serialize.h |
diff --git a/src/snapshot/serialize.h b/src/snapshot/serialize.h |
index 97cea9ac013b387c3bef03bdb20f9469bee4f7b1..d3c70acf4a260554b958dc262e40a1de17852210 100644 |
--- a/src/snapshot/serialize.h |
+++ b/src/snapshot/serialize.h |
@@ -855,9 +855,8 @@ class CodeSerializer : public Serializer { |
const List<uint32_t>* stub_keys() const { return &stub_keys_; } |
private: |
- CodeSerializer(Isolate* isolate, SnapshotByteSink* sink, String* source, |
- Code* main_code) |
- : Serializer(isolate, sink), source_(source), main_code_(main_code) { |
+ CodeSerializer(Isolate* isolate, SnapshotByteSink* sink, String* source) |
+ : Serializer(isolate, sink), source_(source) { |
back_reference_map_.AddSourceString(source); |
} |
@@ -878,7 +877,6 @@ class CodeSerializer : public Serializer { |
DisallowHeapAllocation no_gc_; |
String* source_; |
- Code* main_code_; |
List<uint32_t> stub_keys_; |
DISALLOW_COPY_AND_ASSIGN(CodeSerializer); |
}; |