summaryrefslogtreecommitdiff
path: root/deps/v8/test/cctest/compiler/test-concurrent-shared-function-info.cc
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/cctest/compiler/test-concurrent-shared-function-info.cc')
-rw-r--r--deps/v8/test/cctest/compiler/test-concurrent-shared-function-info.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/deps/v8/test/cctest/compiler/test-concurrent-shared-function-info.cc b/deps/v8/test/cctest/compiler/test-concurrent-shared-function-info.cc
index d9aabbe0c9..87a80ce331 100644
--- a/deps/v8/test/cctest/compiler/test-concurrent-shared-function-info.cc
+++ b/deps/v8/test/cctest/compiler/test-concurrent-shared-function-info.cc
@@ -36,14 +36,14 @@ void ExpectSharedFunctionInfoState(SharedFunctionInfo sfi,
switch (expectedState) {
case SfiState::Compiled:
CHECK(function_data.IsBytecodeArray() ||
- (function_data.IsCodeT() &&
- CodeT::cast(function_data).kind() == CodeKind::BASELINE));
+ (function_data.IsCode() &&
+ Code::cast(function_data).kind() == CodeKind::BASELINE));
CHECK(script_or_debug_info.IsScript());
break;
case SfiState::DebugInfo:
CHECK(function_data.IsBytecodeArray() ||
- (function_data.IsCodeT() &&
- CodeT::cast(function_data).kind() == CodeKind::BASELINE));
+ (function_data.IsCode() &&
+ Code::cast(function_data).kind() == CodeKind::BASELINE));
CHECK(script_or_debug_info.IsDebugInfo());
{
DebugInfo debug_info = DebugInfo::cast(script_or_debug_info);