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

Unified Diff: runtime/vm/exceptions.h

Issue 2708213004: Introduce a flag --limit-ints-to-64-bits in the VM in order to investigate the (Closed)
Patch Set: work in progress Created 3 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 | « runtime/lib/integers.cc ('k') | runtime/vm/exceptions.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/exceptions.h
diff --git a/runtime/vm/exceptions.h b/runtime/vm/exceptions.h
index df4c44c4bd157f16374cdd7588f8862c3ef5aab3..77991533a4c3cec7929c40f3db40170b915dd08f 100644
--- a/runtime/vm/exceptions.h
+++ b/runtime/vm/exceptions.h
@@ -46,6 +46,7 @@ class Exceptions : AllStatic {
enum ExceptionType {
kNone,
kRange,
+ kRangeMsg,
kArgument,
kArgumentValue,
kNoSuchMethod,
@@ -74,6 +75,7 @@ class Exceptions : AllStatic {
const Integer& argument_value,
intptr_t expected_from,
intptr_t expected_to);
+ static void ThrowRangeErrorMsg(const char* msg);
static void ThrowCompileTimeError(const LanguageError& error);
// Returns a RawInstance if the exception is successfully created,
« no previous file with comments | « runtime/lib/integers.cc ('k') | runtime/vm/exceptions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698