Use correct enum for BUILTIN and BYTECODE_HANDLER
Bug: chromium:753973 Change-Id: Ib30bd11ebabfd364d6cee6d31b11c01744e13520 Reviewed-on: https://chromium-review.googlesource.com/c/1286389 Reviewed-by: Jakob Gruber <jgruber@chromium.org> Commit-Queue: Takuto Ikuta <tikuta@chromium.org> Cr-Commit-Position: refs/heads/master@{#56713}
This commit is contained in:
parent
71a29af918
commit
eac96e77c3
@ -125,10 +125,10 @@ Code* BuiltinDeserializer::DeserializeBuiltinRaw(int builtin_id) {
|
|||||||
|
|
||||||
CodeEventListener::LogEventsAndTags code_tag;
|
CodeEventListener::LogEventsAndTags code_tag;
|
||||||
switch (code->kind()) {
|
switch (code->kind()) {
|
||||||
case AbstractCode::BUILTIN:
|
case Code::BUILTIN:
|
||||||
code_tag = CodeEventListener::BUILTIN_TAG;
|
code_tag = CodeEventListener::BUILTIN_TAG;
|
||||||
break;
|
break;
|
||||||
case AbstractCode::BYTECODE_HANDLER:
|
case Code::BYTECODE_HANDLER:
|
||||||
code_tag = CodeEventListener::BYTECODE_HANDLER_TAG;
|
code_tag = CodeEventListener::BYTECODE_HANDLER_TAG;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user