Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index ff1ad67313ad909f351b7210ebbe1966beb9706a..551773acbc6931ca4fbb086fb2b935464107abf4 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -2641,7 +2641,7 @@ MUST_USE_RESULT static MaybeObject* StringReplaceRegExpWithString( |
int capture_count = regexp_handle->CaptureCount(); |
// CompiledReplacement uses zone allocation. |
- CompilationZoneScope zone(isolate, DELETE_ON_EXIT); |
+ ZoneScope zone(isolate, DELETE_ON_EXIT); |
CompiledReplacement compiled_replacement; |
compiled_replacement.Compile(replacement_handle, |
capture_count, |
@@ -3155,7 +3155,7 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_StringMatch) { |
} |
int length = subject->length(); |
- CompilationZoneScope zone_space(isolate, DELETE_ON_EXIT); |
+ ZoneScope zone_space(isolate, DELETE_ON_EXIT); |
ZoneList<int> offsets(8); |
do { |
int start; |