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

Unified Diff: runtime/vm/assembler_arm64_test.cc

Issue 1298783002: Fix for arm and arm64 builds (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 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 | « no previous file | runtime/vm/globals.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/assembler_arm64_test.cc
diff --git a/runtime/vm/assembler_arm64_test.cc b/runtime/vm/assembler_arm64_test.cc
index 518eea381b7ff510667b97e1bbaa609d9f133125..94329a9a51af6541c6269c6ae45ed9faab09f070 100644
--- a/runtime/vm/assembler_arm64_test.cc
+++ b/runtime/vm/assembler_arm64_test.cc
@@ -1700,7 +1700,8 @@ ASSEMBLER_TEST_RUN(LoadImmediatePPLarge, test) {
bit_cast<intptr_t, uword>(test->entry()), \
reinterpret_cast<intptr_t>(thread), 0, 0, 0)
#else
-#define ASSEMBER_TEST_RUN_WITH_THREAD(var_name) \
+#define ASSEMBLER_TEST_RUN_WITH_THREAD(var_name) \
+ Thread* thread = Thread::Current(); \
typedef int64_t (*Int64Return)(Thread* thread); \
Int64Return test_code = reinterpret_cast<Int64Return>(test->entry()); \
int64_t var_name = test_code(thread)
« no previous file with comments | « no previous file | runtime/vm/globals.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698