Commit 3e4fb100 authored by titzer's avatar titzer Committed by Commit bot

Rename PLACEHOLDER code kind to WASM_FUNCTION.

R=mstarzinger@chromium.org
BUG=

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

Cr-Commit-Position: refs/heads/master@{#30893}
parent 8a77673b
...@@ -1645,8 +1645,8 @@ void Logger::LogCodeObject(Object* object) { ...@@ -1645,8 +1645,8 @@ void Logger::LogCodeObject(Object* object) {
description = "A keyed store IC from the snapshot"; description = "A keyed store IC from the snapshot";
tag = Logger::KEYED_STORE_IC_TAG; tag = Logger::KEYED_STORE_IC_TAG;
break; break;
case Code::PLACEHOLDER: case Code::WASM_FUNCTION:
description = "A placeholder for linking later code"; description = "A wasm function";
tag = Logger::STUB_TAG; tag = Logger::STUB_TAG;
break; break;
case Code::NUMBER_OF_KINDS: case Code::NUMBER_OF_KINDS:
......
...@@ -4621,7 +4621,7 @@ class Code: public HeapObject { ...@@ -4621,7 +4621,7 @@ class Code: public HeapObject {
V(HANDLER) \ V(HANDLER) \
V(BUILTIN) \ V(BUILTIN) \
V(REGEXP) \ V(REGEXP) \
V(PLACEHOLDER) V(WASM_FUNCTION)
#define IC_KIND_LIST(V) \ #define IC_KIND_LIST(V) \
V(LOAD_IC) \ V(LOAD_IC) \
......
...@@ -2481,7 +2481,7 @@ void CodeSerializer::SerializeObject(HeapObject* obj, HowToCode how_to_code, ...@@ -2481,7 +2481,7 @@ void CodeSerializer::SerializeObject(HeapObject* obj, HowToCode how_to_code,
SerializeGeneric(code_object, how_to_code, where_to_point); SerializeGeneric(code_object, how_to_code, where_to_point);
} }
return; return;
case Code::PLACEHOLDER: case Code::WASM_FUNCTION:
UNREACHABLE(); UNREACHABLE();
} }
UNREACHABLE(); UNREACHABLE();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment