| Index: runtime/lib/errors.cc
|
| diff --git a/runtime/lib/errors.cc b/runtime/lib/errors.cc
|
| index dd7acd86c766b070cbe19073250c2e59b1d41213..785950b7a2ebd13b8f8d84b00205c8a05c987ee7 100644
|
| --- a/runtime/lib/errors.cc
|
| +++ b/runtime/lib/errors.cc
|
| @@ -10,17 +10,11 @@
|
|
|
| namespace dart {
|
|
|
| -DECLARE_FLAG(bool, abort_on_assertion_errors);
|
| -
|
| // Allocate and throw a new AssertionError.
|
| // Arg0: index of the first token of the failed assertion.
|
| // Arg1: index of the first token after the failed assertion.
|
| // Return value: none, throws an exception.
|
| DEFINE_NATIVE_ENTRY(AssertionError_throwNew, 2) {
|
| - if (FLAG_abort_on_assertion_errors) {
|
| - Exceptions::PrintStackTraceAndAbort("an assertion failure");
|
| - }
|
| -
|
| // No need to type check the arguments. This function can only be called
|
| // internally from the VM.
|
| const TokenPosition assertion_start =
|
|
|