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

Unified Diff: runtime/vm/raw_object.h

Issue 1815333002: Simpler regex names: (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: sync Created 4 years, 9 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_service.cc ('k') | runtime/vm/raw_object.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 65bf47f0abdce031e8bdfba6aa0f9b9457a41381..561011c9d35d09b1b48c35add36aad69e791cacc 100644
--- a/runtime/vm/raw_object.h
+++ b/runtime/vm/raw_object.h
@@ -74,7 +74,7 @@ namespace dart {
V(ReceivePort) \
V(SendPort) \
V(Stacktrace) \
- V(JSRegExp) \
+ V(RegExp) \
V(WeakProperty) \
V(MirrorReference) \
V(LinkedHashMap) \
@@ -2064,8 +2064,8 @@ class RawStacktrace : public RawInstance {
// VM type for capturing JS regular expressions.
-class RawJSRegExp : public RawInstance {
- RAW_HEAP_OBJECT_IMPLEMENTATION(JSRegExp);
+class RawRegExp : public RawInstance {
+ RAW_HEAP_OBJECT_IMPLEMENTATION(RegExp);
RawObject** from() {
return reinterpret_cast<RawObject**>(&ptr()->num_bracket_expressions_);
@@ -2342,7 +2342,7 @@ inline bool RawObject::IsVariableSizeClassId(intptr_t index) {
(index == kCodeCid) ||
(index == kContextScopeCid) ||
(index == kInstanceCid) ||
- (index == kJSRegExpCid);
+ (index == kRegExpCid);
}
« no previous file with comments | « runtime/vm/object_service.cc ('k') | runtime/vm/raw_object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698