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

Unified Diff: src/jsregexp.cc

Issue 3788008: [Isolates] Fix auto extraction of isolate from heap objects in handle constructor. (Closed)
Patch Set: Created 10 years, 2 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 | « src/isolate.h ('k') | src/runtime.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/jsregexp.cc
diff --git a/src/jsregexp.cc b/src/jsregexp.cc
index f5e4470070adfc4f6203e0378c46d6860a0558d3..52d14d149b810ad0040bb23658e68d823f270896 100644
--- a/src/jsregexp.cc
+++ b/src/jsregexp.cc
@@ -98,7 +98,8 @@ static inline void ThrowRegExpException(Handle<JSRegExp> re,
Handle<JSArray> array = isolate->factory()->NewJSArray(2);
SetElement(array, 0, pattern);
SetElement(array, 1, error_text);
- Handle<Object> regexp_err = isolate->factory()->NewSyntaxError(message, array);
+ Handle<Object> regexp_err = isolate->factory()->NewSyntaxError(message,
+ array);
isolate->Throw(*regexp_err);
}
« no previous file with comments | « src/isolate.h ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698