Index: runtime/vm/isolate.cc |
=================================================================== |
--- runtime/vm/isolate.cc (revision 3821) |
+++ runtime/vm/isolate.cc (working copy) |
@@ -358,7 +358,8 @@ |
-RawError* Isolate::StandardRunLoop() { |
+RawObject* Isolate::StandardRunLoop() { |
+ ASSERT(long_jump_base() != NULL); |
ASSERT(message_notify_callback() == NULL); |
ASSERT(message_handler() != NULL); |
@@ -382,16 +383,14 @@ |
message->dest_port(), message->reply_port(), msg)); |
delete message; |
if (result.IsError()) { |
- Error& error = Error::Handle(); |
- error ^= result.raw(); |
- return error.raw(); |
+ return result.raw(); |
} |
ASSERT(result.IsNull()); |
} |
} |
// Indicates success. |
- return Error::null(); |
+ return Object::null(); |
} |