Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(878)

Unified Diff: runtime/vm/code_patcher_arm64_test.cc

Issue 1264543002: Simplify constant pool usage in arm64 code generator (by removing extra argument (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: address comments Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/assembler_arm64_test.cc ('k') | runtime/vm/constants_arm64.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « runtime/vm/assembler_arm64_test.cc ('k') | runtime/vm/constants_arm64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698