Chromium Code Reviews| Index: runtime/vm/object.cc |
| =================================================================== |
| --- runtime/vm/object.cc (revision 11670) |
| +++ runtime/vm/object.cc (working copy) |
| @@ -8214,12 +8214,6 @@ |
| } |
| -bool Instance::IsValidNativeIndex(int index) const { |
| - const Class& cls = Class::Handle(clazz()); |
| - return (index >= 0 && index < cls.num_native_fields()); |
| -} |
| - |
| - |
| RawInstance* Instance::New(const Class& cls, Heap::Space space) { |
| Instance& result = Instance::Handle(); |
| { |