diff --git a/runtime/vm/parser.cc b/runtime/vm/parser.cc index 8c83740cb1d0..de76ea4206f5 100644 --- a/runtime/vm/parser.cc +++ b/runtime/vm/parser.cc @@ -47,7 +47,6 @@ namespace dart { ParsedFunction::ParsedFunction(Thread* thread, const Function& function) : thread_(thread), function_(function), - code_(Code::Handle(zone(), function.unoptimized_code())), scope_(nullptr), regexp_compile_data_(nullptr), function_type_arguments_(nullptr), diff --git a/runtime/vm/parser.h b/runtime/vm/parser.h index 5237e32a9d77..070f9c7a7ca0 100644 --- a/runtime/vm/parser.h +++ b/runtime/vm/parser.h @@ -71,7 +71,6 @@ class ParsedFunction : public ZoneAllocated { ParsedFunction(Thread* thread, const Function& function); const Function& function() const { return function_; } - const Code& code() const { return code_; } LocalScope* scope() const { return scope_; } void set_scope(LocalScope* scope) { @@ -294,7 +293,6 @@ class ParsedFunction : public ZoneAllocated { private: Thread* thread_; const Function& function_; - Code& code_; LocalScope* scope_; RegExpCompileData* regexp_compile_data_; LocalVariable* function_type_arguments_;