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

Unified Diff: runtime/vm/runtime_entry.h

Issue 227433004: Add runtime and native entry tags (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 8 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/runtime_entry.h
diff --git a/runtime/vm/runtime_entry.h b/runtime/vm/runtime_entry.h
index 3bb1ddef75e9864a22d4ae7b29937d78dd75ff9e..8fdfcc46e93de05d811caa805de7ad11e28cc4f1 100644
--- a/runtime/vm/runtime_entry.h
+++ b/runtime/vm/runtime_entry.h
@@ -9,6 +9,7 @@
#include "vm/assembler.h"
#include "vm/flags.h"
#include "vm/native_arguments.h"
+#include "vm/tags.h"
namespace dart {
@@ -28,7 +29,9 @@ class RuntimeEntry : public ValueObject {
function_(function),
argument_count_(argument_count),
is_leaf_(is_leaf),
- is_float_(is_float) { }
+ is_float_(is_float) {
+ VMTag::RegisterRuntimeEntry(this);
+ }
~RuntimeEntry() {}
const char* name() const { return name_; }
« no previous file with comments | « runtime/vm/raw_object.h ('k') | runtime/vm/stack_frame.h » ('j') | runtime/vm/stack_frame.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698