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

Unified Diff: runtime/vm/snapshot.cc

Issue 1430993003: Add test precompiling dart2js. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: status file Created 5 years, 1 month 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/vm/snapshot.h ('k') | tests/standalone/precompilation_dart2js_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/snapshot.cc
diff --git a/runtime/vm/snapshot.cc b/runtime/vm/snapshot.cc
index 0bffe7ba0513428d41f3b6efeae76597e4165aae..8e6c28e9ec26070709249591ec262d881ab7ecaa 100644
--- a/runtime/vm/snapshot.cc
+++ b/runtime/vm/snapshot.cc
@@ -1021,6 +1021,11 @@ RawWeakProperty* SnapshotReader::NewWeakProperty() {
}
+RawJSRegExp* SnapshotReader::NewJSRegExp() {
+ ALLOC_NEW_OBJECT(JSRegExp);
+}
+
+
RawFloat32x4* SnapshotReader::NewFloat32x4(float v0, float v1, float v2,
float v3) {
ASSERT(kind_ == Snapshot::kFull);
« no previous file with comments | « runtime/vm/snapshot.h ('k') | tests/standalone/precompilation_dart2js_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698