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

Unified Diff: runtime/vm/symbols.h

Issue 10915022: Implement argument definition test in the vm. (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
Index: runtime/vm/symbols.h
===================================================================
--- runtime/vm/symbols.h (revision 11663)
+++ runtime/vm/symbols.h (working copy)
@@ -15,12 +15,13 @@
class ObjectPointerVisitor;
#define PREDEFINED_SYMBOLS_LIST(V) \
+ V(Empty, "") \
V(Dot, ".") \
V(Equals, "=") \
V(IndexToken, "[]") \
V(AssignIndexToken, "[]=") \
V(TopLevel, "::") \
- V(Empty, "") \
+ V(DefaultLabel, ":L") \
V(This, "this") \
V(HasNext, "hasNext") \
V(Next, "next") \
@@ -44,6 +45,8 @@
V(Interpolate, "_interpolate") \
V(GetIterator, "iterator") \
V(NoSuchMethod, "noSuchMethod") \
+ V(SavedArgDescVarPrefix, ":saved_args_desc_var") \
+ V(SavedEntryContextVar, ":saved_entry_context_var") \
V(SavedContextVar, ":saved_context_var") \
V(ExceptionVar, ":exception_var") \
V(StacktraceVar, ":stacktrace_var") \
@@ -167,6 +170,8 @@
intptr_t begin_index,
intptr_t length);
+ // Returns char* of predefined symbol.
+ static const char* Name(intptr_t symbol);
private:
enum {

Powered by Google App Engine
This is Rietveld 408576698