From: marja Date: Thu, 12 Feb 2015 13:02:30 +0000 (-0800) Subject: Parsing: Make Parser not know about Isolate during background parsing. X-Git-Tag: upstream/4.7.83~4428 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=df0cb9999ff0574c6476b29f0610c7ca69d3ae1f;p=platform%2Fupstream%2Fv8.git Parsing: Make Parser not know about Isolate during background parsing. Parser must be able to operate independent of Isolate and the V8 heap during parsing. After the heap-independent phase, there is a heap dependent phase, during which we internalize strings, handle errors, etc. This makes Isolate (also via CompilationInfo) unaccessible during parsing, and thus decreases the probability of accidental code changes which would add heap-dependent operations into the heap-independent phase. Since Isolate is also accessible via CompilationInfo, now CompilationInfo is only passed to the entry points of parsing, and not stored in Parser. R=rossberg@chromium.org BUG= Review URL: https://codereview.chromium.org/908173003 Cr-Commit-Position: refs/heads/master@{#26612} --- diff --git a/src/api.cc b/src/api.cc index f2fffa2..ec9978e 100644 --- a/src/api.cc +++ b/src/api.cc @@ -1727,8 +1727,8 @@ Local