Index: runtime/vm/object.cc |
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc |
index 14a9b6342e531e446bb6d7de622b27ef62467593..b804cad548d08feb9216c1171c8760c027a4b0c9 100644 |
--- a/runtime/vm/object.cc |
+++ b/runtime/vm/object.cc |
@@ -13718,9 +13718,6 @@ RawLocalVarDescriptors* Code::GetLocalVarDescriptors() const { |
if (v.IsNull()) { |
ASSERT(!is_optimized()); |
const Function& f = Function::Handle(function()); |
- if (f.kernel_function() != NULL) { |
- return v.raw(); |
- } |
ASSERT(!f.IsIrregexpFunction()); // Not yet implemented. |
Compiler::ComputeLocalVarDescriptors(*this); |
} |