Index: runtime/vm/allocation_test.cc |
=================================================================== |
--- runtime/vm/allocation_test.cc (revision 3366) |
+++ runtime/vm/allocation_test.cc (working copy) |
@@ -88,7 +88,10 @@ |
TestValueObject stacked(ptr); |
EXPECT_EQ(2, *ptr); |
*ptr = 3; |
- jump->Jump(1, "StackAllocatedLongJump Test"); |
+ const Error& error = |
+ Error::Handle(LanguageError::New( |
+ String::Handle(String::New("StackAllocatedLongJump")))); |
+ jump->Jump(1, error); |
UNREACHABLE(); |
} |
@@ -132,7 +135,10 @@ |
TestStackedStackResource stacked(ptr); |
EXPECT_EQ(4, *ptr); |
*ptr = 5; |
- jump->Jump(1, "StackResourceLongJump Test"); |
+ const Error& error = |
+ Error::Handle(LanguageError::New( |
+ String::Handle(String::New("StackedStackResourceLongJump")))); |
+ jump->Jump(1, error); |
UNREACHABLE(); |
} |