Chromium Code Reviews

Unified Diff: unittest/AssemblerX8664/TestUtil.h

Issue 1428443002: Enhance address mode recovery (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Streamline absolute addressing support (rip-relative on x64) Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: unittest/AssemblerX8664/TestUtil.h
diff --git a/unittest/AssemblerX8664/TestUtil.h b/unittest/AssemblerX8664/TestUtil.h
index 4615459b59a130e26212b827c6e10c30424f9c55..5a1d4a5523d9f964e9141ccb59a643319a9c0144 100644
--- a/unittest/AssemblerX8664/TestUtil.h
+++ b/unittest/AssemblerX8664/TestUtil.h
@@ -930,7 +930,7 @@ protected:
}
Address dwordAddress(uint32_t Dword) {
- return Address(Encoded_GPR_r9(), dwordDisp(Dword));
+ return Address(Encoded_GPR_r9(), dwordDisp(Dword), nullptr);
}
private:
« unittest/AssemblerX8632/ControlFlow.cpp ('K') | « unittest/AssemblerX8664/LowLevel.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine