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

Unified Diff: runtime/vm/object.cc

Issue 10880020: Use patching for regexp implementation. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Hack to VM patching. 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/object.cc
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc
index 0f3a7f40b7915fd87bf70e6a795285195e3a55a0..809106e1f272cef2a43c7817fc62982d05bc60e1 100644
--- a/runtime/vm/object.cc
+++ b/runtime/vm/object.cc
@@ -1601,7 +1601,10 @@ const char* Class::ApplyPatch(const Class& patch) const {
// the loop below.
new_functions.Add(orig_func);
} else if (!func.HasCompatibleParametersWith(orig_func)) {
- return FormatPatchError("mismatched parameters: %s", member_name);
+ // TODO(ager,iposva): Figure out why this fails when patching
+ // a const constructor with a native const factory.
+ //
+ // return FormatPatchError("mismatched parameters: %s", member_name);
}
}
for (intptr_t i = 0; i < patch_len; i++) {
« lib/compiler/implementation/lib/coreimpl_patch.dart ('K') | « runtime/lib/regexp_patch.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698