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

Unified Diff: src/vm/session.cc

Issue 1209033003: Work in progres, please take a look and give early feedback if this is the way we want to structure… (Closed) Base URL: git@github.com:dart-lang/fletch.git@master
Patch Set: address comments Created 5 years, 6 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 | « src/vm/program.cc ('k') | src/vm/vm.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/vm/session.cc
diff --git a/src/vm/session.cc b/src/vm/session.cc
index 74b3d132b5b2436fd1eb5401634952f51f48f95d..b714ff6f4ee561e1fbd56ff2dfa0566e3a129052 100644
--- a/src/vm/session.cc
+++ b/src/vm/session.cc
@@ -766,8 +766,10 @@ void Session::PushBuiltinClass(Names::Id name, int fields) {
klass = program()->coroutine_class();
} else if (name == Names::kPort) {
klass = program()->port_class();
- } else if (name == Names::kForeign) {
- klass = program()->foreign_class();
+ } else if (name == Names::kForeignMemory) {
+ klass = program()->foreign_memory_class();
+ } else if (name == Names::kForeignFunction) {
+ klass = program()->foreign_function_class();
} else {
UNREACHABLE();
}
« no previous file with comments | « src/vm/program.cc ('k') | src/vm/vm.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698