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

Unified Diff: runtime/vm/raw_object.h

Issue 1201383002: Port irregexp bytecode compiler and interpreter from V8 r24065. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: 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
Index: runtime/vm/raw_object.h
diff --git a/runtime/vm/raw_object.h b/runtime/vm/raw_object.h
index 3be710beedea8b3b76b12beac63e99e20fa76984..12104f1f4c9651c1d47df4a6de3647e7a201e8b6 100644
--- a/runtime/vm/raw_object.h
+++ b/runtime/vm/raw_object.h
@@ -1904,10 +1904,14 @@ class RawJSRegExp : public RawInstance {
RawFunction* two_byte_function_;
RawFunction* external_one_byte_function_;
RawFunction* external_two_byte_function_;
+ RawTypedData* one_byte_bytecode_;
+ RawTypedData* two_byte_bytecode_;
RawObject** to() {
- return reinterpret_cast<RawObject**>(&ptr()->external_two_byte_function_);
+ return reinterpret_cast<RawObject**>(&ptr()->two_byte_bytecode_);
}
+ intptr_t num_registers_;
+
// A bitfield with two fields:
// type: Uninitialized, simple or complex.
// flags: Represents global/local, case insensitive, multiline.

Powered by Google App Engine
This is Rietveld 408576698