summaryrefslogtreecommitdiff
path: root/deps/v8/test/cctest/compiler/test-run-tail-calls.cc
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/cctest/compiler/test-run-tail-calls.cc')
-rw-r--r--deps/v8/test/cctest/compiler/test-run-tail-calls.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/deps/v8/test/cctest/compiler/test-run-tail-calls.cc b/deps/v8/test/cctest/compiler/test-run-tail-calls.cc
index 2b1ee39f6f..0601c161c1 100644
--- a/deps/v8/test/cctest/compiler/test-run-tail-calls.cc
+++ b/deps/v8/test/cctest/compiler/test-run-tail-calls.cc
@@ -73,9 +73,10 @@ Handle<Code> BuildSetupFunction(Isolate* isolate,
params.push_back(__ IntPtrConstant(i + 42));
}
DCHECK_EQ(param_count + 1, params.size());
- Node* raw_result = tester.raw_assembler_for_testing()->CallN(
- caller_descriptor, param_count + 1, params.data());
- __ Return(__ SmiTag(raw_result));
+ TNode<IntPtrT> intptr_result =
+ __ UncheckedCast<IntPtrT>(tester.raw_assembler_for_testing()->CallN(
+ caller_descriptor, param_count + 1, params.data()));
+ __ Return(__ SmiTag(intptr_result));
return tester.GenerateCodeCloseAndEscape();
}