| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #include "vm/native_entry.h" | 5 #include "vm/native_entry.h" |
| 6 #include "vm/object.h" | 6 #include "vm/object.h" |
| 7 #include "vm/object_store.h" | 7 #include "vm/object_store.h" |
| 8 #include "vm/snapshot.h" | 8 #include "vm/snapshot.h" |
| 9 #include "vm/stub_code.h" | 9 #include "vm/stub_code.h" |
| 10 #include "vm/symbols.h" | 10 #include "vm/symbols.h" |
| (...skipping 3772 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3783 if (kind == Snapshot::kMessage) { | 3783 if (kind == Snapshot::kMessage) { |
| 3784 // We do not allow objects with native fields in an isolate message. | 3784 // We do not allow objects with native fields in an isolate message. |
| 3785 writer->SetWriteException(Exceptions::kArgument, | 3785 writer->SetWriteException(Exceptions::kArgument, |
| 3786 "Illegal argument in isolate message" | 3786 "Illegal argument in isolate message" |
| 3787 " : (object is a UserTag)"); | 3787 " : (object is a UserTag)"); |
| 3788 } else { | 3788 } else { |
| 3789 UNREACHABLE(); | 3789 UNREACHABLE(); |
| 3790 } | 3790 } |
| 3791 } | 3791 } |
| 3792 | 3792 |
| 3793 |
| 3793 } // namespace dart | 3794 } // namespace dart |
| OLD | NEW |