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

Unified Diff: vm/symbols.h

Issue 11519006: Add read only handles for the following predefined symbols (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years 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 | « vm/stub_code_x64.cc ('k') | vm/symbols.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/symbols.h
===================================================================
--- vm/symbols.h (revision 15920)
+++ vm/symbols.h (working copy)
@@ -147,6 +147,10 @@
#define PREDEFINED_SYMBOL_HANDLES_LIST(V) \
V(Dot) \
+ V(EqualOperator) \
+ V(IndexToken) \
+ V(AssignIndexToken) \
+ V(This) \
// Contains a list of frequently used strings in a canonicalized form. This
// list is kept in the vm_isolate in order to share the copy across isolates
@@ -220,6 +224,8 @@
return reinterpret_cast<RawString**>(&predefined_);
}
+ static bool IsPredefinedHandle(uword address);
+
private:
enum {
kInitialVMIsolateSymtabSize = ((kMaxId + 15) & -16),
« no previous file with comments | « vm/stub_code_x64.cc ('k') | vm/symbols.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698