| Index: runtime/vm/exceptions.cc
|
| diff --git a/runtime/vm/exceptions.cc b/runtime/vm/exceptions.cc
|
| index 4837f17106b575a9195e6efb2bae8d67afa2c936..8823362a0ba4653ec8aeaae70577f2b6b47ae342 100644
|
| --- a/runtime/vm/exceptions.cc
|
| +++ b/runtime/vm/exceptions.cc
|
| @@ -101,7 +101,7 @@ void PreallocatedStackTraceBuilder::AddFrame(const Code& code,
|
| dropped_frames_++;
|
| // Add an empty slot to indicate the overflow so that the toString
|
| // method can account for the overflow.
|
| - if (stacktrace_.FunctionAtFrame(null_slot) != Function::null()) {
|
| + if (stacktrace_.CodeAtFrame(null_slot) != Code::null()) {
|
| stacktrace_.SetCodeAtFrame(null_slot, frame_code);
|
| // We drop an extra frame here too.
|
| dropped_frames_++;
|
|
|