Skip to content

Commit

Permalink
Bug 1663898: Really enable Cranelift by default on aarch64 builds; r=…
Browse files Browse the repository at this point in the history
…froydnj

Differential Revision: https://phabricator.services.mozilla.com/D89600
  • Loading branch information
bnjbvr committed Sep 9, 2020
1 parent 1e3d9d3 commit 544542c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion modules/libpref/init/all.js
Original file line number Diff line number Diff line change
Expand Up @@ -1095,7 +1095,7 @@ pref("javascript.options.wasm_baselinejit", true);
// compilation, and Ion is not available.
// On every other tier-1 platform, Ion is the default, and Cranelift is
// disabled.
#ifdef _ARM64_
#ifdef MOZ_AARCH64
#ifdef ENABLE_WASM_CRANELIFT
pref("javascript.options.wasm_cranelift", true);
#endif
Expand Down
3 changes: 3 additions & 0 deletions modules/libpref/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,9 @@ if CONFIG['MOZ_SERVICES_SYNC']:
if CONFIG['MOZ_BUILD_APP'] == 'browser':
DEFINES['MOZ_BUILD_APP_IS_BROWSER'] = True

if CONFIG['CPU_ARCH'] == 'aarch64':
DEFINES['MOZ_AARCH64'] = True

if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'android':
if not CONFIG['MOZ_ANDROID_FAT_AAR_ARCHITECTURES']:
FINAL_TARGET_PP_FILES[CONFIG['ANDROID_CPU_ARCH']] += [
Expand Down

0 comments on commit 544542c

Please sign in to comment.