Index: runtime/vm/code_patcher_arm64_test.cc |
diff --git a/runtime/vm/code_patcher_arm64_test.cc b/runtime/vm/code_patcher_arm64_test.cc |
index c4ba10ba27eb2b30586e6f0459996b32f453b452..6f98aac1a7b02e34c029f15669812caa572335c1 100644 |
--- a/runtime/vm/code_patcher_arm64_test.cc |
+++ b/runtime/vm/code_patcher_arm64_test.cc |
@@ -39,7 +39,10 @@ ASSEMBLER_TEST_GENERATE(IcDataAccess, assembler) { |
15, |
1)); |
- __ LoadObject(R5, ic_data, PP); |
+ // Code accessing pp is generated, but not executed. Uninitialized pp is OK. |
+ __ set_constant_pool_allowed(true); |
+ |
+ __ LoadObject(R5, ic_data); |
ExternalLabel target_label(StubCode::OneArgCheckInlineCacheEntryPoint()); |
__ BranchLinkPatchable(&target_label); |
__ ret(); |