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

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, 5 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 | « runtime/vm/object.cc ('k') | runtime/vm/raw_object_snapshot.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/raw_object.h
diff --git a/runtime/vm/raw_object.h b/runtime/vm/raw_object.h
index 5721a0b904e632b050dbc08a47e1cd78d35ce7b3..cc967e703482a89e306f3ff0587d42f1477a3597 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.
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/raw_object_snapshot.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698