Index: runtime/vm/object.cc |
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc |
index 9aa608c320ec47ea176a438f2fc2dd21524ee0e7..c189fd8d7c32495415ca0b65f6e4119b3274c782 100644 |
--- a/runtime/vm/object.cc |
+++ b/runtime/vm/object.cc |
@@ -6741,6 +6741,9 @@ const char* Function::ToCString() const { |
case RawFunction::kInvokeFieldDispatcher: |
kind_str = "invoke-field-dispatcher"; |
break; |
+ case RawFunction::kIrregexpFunction: |
Florian Schneider
2014/09/16 11:11:48
Check for other places where you need to add a cas
jgruber1
2014/09/22 18:58:04
Done.
|
+ kind_str = "irregexp-function"; |
+ break; |
default: |
UNREACHABLE(); |
} |
@@ -19271,6 +19274,16 @@ const char* Stacktrace::ToCStringInternal(intptr_t* frame_index, |
} |
+void JSRegExp::set_one_byte_function(const Function& function) { |
+ StorePointer(&raw_ptr()->one_byte_function_, function.raw()); |
+} |
+ |
+ |
+void JSRegExp::set_two_byte_function(const Function& function) { |
+ StorePointer(&raw_ptr()->two_byte_function_, function.raw()); |
+} |
+ |
+ |
void JSRegExp::set_pattern(const String& pattern) const { |
StorePointer(&raw_ptr()->pattern_, pattern.raw()); |
} |