MIPS: Parsing: Make Scope not know about Isolate.
authorbalazs.kilvady <balazs.kilvady@imgtec.com>
Tue, 10 Feb 2015 19:09:25 +0000 (11:09 -0800)
committerCommit bot <commit-bot@chromium.org>
Tue, 10 Feb 2015 19:09:41 +0000 (19:09 +0000)
commit4dbfde37110b7108842829ee3cc17104816b1392
tree6ff18f1fd216b4a90000e355eb40924cb7eb8bca
parent59c55842b8c6210152d2d6bb10d64f0fb4763f31
MIPS: Parsing: Make Scope not know about Isolate.

Port 5d68529be240a1fc9fcc67c8950ead4baf7604e4

Original commit message:
Scope, like Parser, must be able to operate independent of Isolate and the V8
heap (for background parsing). After the heap-independent phase, there is a heap
dependent phase, during which we do operations such as scope anaylysis.

This CL makes the phases explicit by not telling Scope about the Isolate too
early (during the heap-independent phase, Scope should know nothing about
Isolate). This decreases the probability of accidental code changes which would
add heap-dependent operations into the heap-independent phase.

BUG=

Review URL: https://codereview.chromium.org/911073004

Cr-Commit-Position: refs/heads/master@{#26553}
src/mips/full-codegen-mips.cc
src/mips64/full-codegen-mips64.cc