Rename "Stackmap" to "StackMap"
And "stackmap" to "stack_map". This commit is purely mechanical.
This commit is contained in:
@@ -14,7 +14,7 @@ use crate::regalloc::coloring::Coloring;
|
||||
use crate::regalloc::live_value_tracker::LiveValueTracker;
|
||||
use crate::regalloc::liveness::Liveness;
|
||||
use crate::regalloc::reload::Reload;
|
||||
use crate::regalloc::safepoint::emit_stackmaps;
|
||||
use crate::regalloc::safepoint::emit_stack_maps;
|
||||
use crate::regalloc::spilling::Spilling;
|
||||
use crate::regalloc::virtregs::VirtRegs;
|
||||
use crate::result::CodegenResult;
|
||||
@@ -206,7 +206,7 @@ impl Context {
|
||||
// This function runs after register allocation has taken
|
||||
// place, meaning values have locations assigned already.
|
||||
if isa.flags().enable_safepoints() {
|
||||
emit_stackmaps(func, domtree, &self.liveness, &mut self.tracker, isa);
|
||||
emit_stack_maps(func, domtree, &self.liveness, &mut self.tracker, isa);
|
||||
} else {
|
||||
// Make sure no references are used.
|
||||
for val in func.dfg.values() {
|
||||
|
||||
@@ -23,4 +23,4 @@ mod spilling;
|
||||
pub use self::context::Context;
|
||||
pub use self::diversion::{EntryRegDiversions, RegDiversions};
|
||||
pub use self::register_set::RegisterSet;
|
||||
pub use self::safepoint::emit_stackmaps;
|
||||
pub use self::safepoint::emit_stack_maps;
|
||||
|
||||
@@ -32,9 +32,9 @@ fn insert_and_encode_safepoint<'f>(
|
||||
}
|
||||
}
|
||||
|
||||
// The emit_stackmaps() function analyzes each instruction to retrieve the liveness of
|
||||
// The emit_stack_maps() function analyzes each instruction to retrieve the liveness of
|
||||
// the defs and operands by traversing a function's blocks in layout order.
|
||||
pub fn emit_stackmaps(
|
||||
pub fn emit_stack_maps(
|
||||
func: &mut Function,
|
||||
domtree: &DominatorTree,
|
||||
liveness: &Liveness,
|
||||
|
||||
Reference in New Issue
Block a user