Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(620)

Unified Diff: runtime/lib/core_patch.dart

Issue 953973003: - Add a _fatal helper function into dart:core, so that we can (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/lib/object.cc » ('j') | runtime/lib/stacktrace.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/core_patch.dart
===================================================================
--- runtime/lib/core_patch.dart (revision 43993)
+++ runtime/lib/core_patch.dart (working copy)
@@ -5,6 +5,10 @@
import "dart:math";
import "dart:typed_data";
+// Equivalent of calling FATAL from C++ code.
+_fatal(msg) native "DartCore_fatal";
+
+
// We need to pass the exception and stack trace objects as second and third
// parameter to the continuation. See vm/ast_transformer.cc for usage.
void _asyncCatchHelper(catchFunction, continuation) {
« no previous file with comments | « no previous file | runtime/lib/object.cc » ('j') | runtime/lib/stacktrace.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698