To protect your data, the CISO officer has suggested users to enable 2FA as soon as possible.
Currently 2.7% of users enabled 2FA.

Commit f6381378 authored by qinsoon's avatar qinsoon
Browse files

forgot changing aarch64 backend

parent 3bc38a25
...@@ -395,6 +395,7 @@ lazy_static! { ...@@ -395,6 +395,7 @@ lazy_static! {
//X18.clone(), // Platform Register //X18.clone(), // Platform Register
]; ];
#[allow(dead_code)]
static ref ALL_GPRS : [P<Value>; 30] = [ static ref ALL_GPRS : [P<Value>; 30] = [
X0.clone(), X0.clone(),
X1.clone(), X1.clone(),
...@@ -584,6 +585,7 @@ lazy_static!{ ...@@ -584,6 +585,7 @@ lazy_static!{
D31.clone() D31.clone()
]; ];
#[allow(dead_code)]
static ref ALL_FPRS : [P<Value>; 32] = [ static ref ALL_FPRS : [P<Value>; 32] = [
D0.clone(), D0.clone(),
D1.clone(), D1.clone(),
...@@ -759,8 +761,8 @@ pub fn init_machine_regs_for_func (func_context: &mut FunctionContext) { ...@@ -759,8 +761,8 @@ pub fn init_machine_regs_for_func (func_context: &mut FunctionContext) {
pub fn number_of_usable_regs_in_group(group: RegGroup) -> usize { pub fn number_of_usable_regs_in_group(group: RegGroup) -> usize {
match group { match group {
RegGroup::GPR => ALL_GPRS.len(), RegGroup::GPR => ALL_USABLE_GPRS.len(),
RegGroup::FPR => ALL_FPRS.len(), RegGroup::FPR => ALL_USABLE_FPRS.len(),
RegGroup::GPREX => unimplemented!(), RegGroup::GPREX => unimplemented!(),
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment