Index: runtime/vm/object.cc |
=================================================================== |
--- runtime/vm/object.cc (revision 2724) |
+++ runtime/vm/object.cc (working copy) |
@@ -4606,6 +4606,13 @@ |
} |
+intptr_t LocalVarDescriptors::GetSlotIndex(intptr_t var_index) const { |
+ ASSERT(var_index < Length()); |
+ RawLocalVarDescriptors::VarInfo *info = &raw_ptr()->data_[var_index]; |
+ return info->index; |
+} |
+ |
+ |
void LocalVarDescriptors::SetVar(intptr_t var_index, |
const String& name, |
intptr_t stack_slot, |