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}
description = "A keyed store IC from the snapshot";
tag = Logger::KEYED_STORE_IC_TAG;
break;
+ case Code::PLACEHOLDER:
+ description = "A placeholder for linking later code";
+ tag = Logger::STUB_TAG;
+ break;
case Code::NUMBER_OF_KINDS:
break;
}
V(STUB) \
V(HANDLER) \
V(BUILTIN) \
- V(REGEXP)
+ V(REGEXP) \
+ V(PLACEHOLDER)
#define IC_KIND_LIST(V) \
V(LOAD_IC) \
SerializeGeneric(code_object, how_to_code, where_to_point);
}
return;
+ case Code::PLACEHOLDER:
+ UNREACHABLE();
}
UNREACHABLE();
}