Add a PLACEHOLDER code kind.
authortitzer <titzer@chromium.org>
Tue, 25 Aug 2015 10:17:26 +0000 (03:17 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 25 Aug 2015 10:17:33 +0000 (10:17 +0000)
commite4bcc3363f2db15bbc0ba57b91676ce7f1c4adb1
treea47e2432a35dfbdf76560e6dce5c3b5e51c1ee47
parentbf6764e6c1197e50ae148755488307a423b1d9b4
Add a PLACEHOLDER code kind.

The PLACEHOLDER code kind is used when compiling a code object that has
direct calls to other code objects, but those other code objects do not
yet exist because they have not yet been compiled. It serves as a
placeholder to break the cycle, e.g. in WASM.

R=yangguo@chromium.org
BUG=

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

Cr-Commit-Position: refs/heads/master@{#30348}
src/log.cc
src/objects.h
src/snapshot/serialize.cc