Commit 81cd54b7 authored by Mike Stanton's avatar Mike Stanton Committed by Commit Bot

[ptr-compr] Fix macro assembler test for Windows bot failure

R=ishell@chromium.org

Bug: v8:7703
Change-Id: Iba0ad7d6c6e9c772fc9d9bc081b0c2bf31e23565
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1613249Reviewed-by: 's avatarIgor Sheludko <ishell@chromium.org>
Commit-Queue: Michael Stanton <mvstanton@chromium.org>
Cr-Commit-Position: refs/heads/master@{#61542}
parent 735aa493
......@@ -454,9 +454,9 @@ TEST(EmbeddedObj) {
StdoutStream os;
code->Print(os);
#endif
typedef Object(myF0)();
typedef Address(myF0)();
auto f = GeneratedCode<myF0>::FromAddress(isolate, code->entry());
Object result = f.Call();
Object result = Object(f.Call());
CHECK_EQ(old_array->ptr(), result.ptr());
// Collect garbage to ensure reloc info can be walked by the heap.
......
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