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

Unified Diff: runtime/vm/bootstrap_natives.h

Issue 10916039: Throw AbstractClassInstantiationError if an abstract class is instantiated (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 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/error.dart ('k') | runtime/vm/object.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/bootstrap_natives.h
===================================================================
--- runtime/vm/bootstrap_natives.h (revision 11699)
+++ runtime/vm/bootstrap_natives.h (working copy)
@@ -98,6 +98,7 @@
V(AssertionError_throwNew, 2) \
V(TypeError_throwNew, 5) \
V(FallThroughError_throwNew, 1) \
+ V(AbstractClassInstantiationError_throwNew, 2) \
V(StaticResolutionException_throwNew, 1) \
V(Stopwatch_now, 0) \
V(Stopwatch_frequency, 0) \
@@ -200,7 +201,7 @@
public:
static Dart_NativeFunction Lookup(Dart_Handle name, int argument_count);
-#define DECLARE_BOOTSTRAP_NATIVE(name, ignored) \
+#define DECLARE_BOOTSTRAP_NATIVE(name, ignored) \
static void DN_##name(Dart_NativeArguments args);
BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE)
« no previous file with comments | « runtime/lib/error.dart ('k') | runtime/vm/object.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698