| 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 "platform/globals.h" |
| 6 #if !defined(TARGET_ARCH_ARM64) |
| 7 |
| 5 #include "platform/assert.h" | 8 #include "platform/assert.h" |
| 6 #include "vm/assembler.h" | 9 #include "vm/assembler.h" |
| 7 #include "vm/class_finalizer.h" | 10 #include "vm/class_finalizer.h" |
| 8 #include "vm/compiler.h" | 11 #include "vm/compiler.h" |
| 9 #include "vm/dart_entry.h" | 12 #include "vm/dart_entry.h" |
| 10 #include "vm/object.h" | 13 #include "vm/object.h" |
| 11 #include "vm/resolver.h" | 14 #include "vm/resolver.h" |
| 12 #include "vm/symbols.h" | 15 #include "vm/symbols.h" |
| 13 #include "vm/unit_test.h" | 16 #include "vm/unit_test.h" |
| 14 | 17 |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 EXPECT(!function.IsNull()); | 107 EXPECT(!function.IsNull()); |
| 105 const Array& args = Array::Handle(Array::New(1)); | 108 const Array& args = Array::Handle(Array::New(1)); |
| 106 args.SetAt(0, instance); | 109 args.SetAt(0, instance); |
| 107 const Object& retval = Object::Handle(DartEntry::InvokeFunction(function, | 110 const Object& retval = Object::Handle(DartEntry::InvokeFunction(function, |
| 108 args)); | 111 args)); |
| 109 EXPECT(retval.IsError()); | 112 EXPECT(retval.IsError()); |
| 110 EXPECT_SUBSTRING("++++", Error::Cast(retval).ToErrorCString()); | 113 EXPECT_SUBSTRING("++++", Error::Cast(retval).ToErrorCString()); |
| 111 } | 114 } |
| 112 | 115 |
| 113 } // namespace dart | 116 } // namespace dart |
| 117 |
| 118 #endif // !defined(TARGET_ARCH_ARM64) |
| OLD | NEW |