Skip to content

Instantly share code, notes, and snippets.

@timo
Created September 14, 2015 10:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save timo/9c30f942f14a8d468e9f to your computer and use it in GitHub Desktop.
Save timo/9c30f942f14a8d468e9f to your computer and use it in GitHub Desktop.
inspecting Want nodes for compile-time dispatch
diff --git a/timo_natives_nbody_optimized_before_want.txt b/timo_natives_nbody_optimized_after_want.txt
index 1c326db..37705ca 100644
--- a/timo_natives_nbody_optimized_before_want.txt
+++ b/timo_natives_nbody_optimized_after_want.txt
@@ -1424,12 +1424,14 @@
- Nn
- QAST::NVal(0.0076990111841974)
- QAST::Var(lexicalref $days_per_year) $days_per_year
- [-QAST::Op+{QAST::SpecialArg}(callstatic &infix:<*>)-]{+QAST::Stmts+{QAST::SpecialArg}+} *
- {+QAST::Stmt+}
{+ - QAST::Op(mul_n)+}
{+ -+} QAST::Want
- QAST::WVal(Num)
- Nn
- QAST::NVal(-6.90460016972063e-05)
- QAST::Var(lexicalref $days_per_year) $days_per_year
- QAST::Stmts+{QAST::SpecialArg} *
- QAST::Stmt
- QAST::Op(mul_n)
@@ -1453,12 +1455,14 @@
- QAST::WVal+{QAST::SpecialArg}(Num)
- Nn
- QAST::NVal(-0.403523417114321)
- [-QAST::Op+{QAST::SpecialArg}(callstatic &infix:<*>)-]{+QAST::Stmts+{QAST::SpecialArg}+} *
- {+QAST::Stmt+}
{+ - QAST::Op(mul_n)+}
{+ -+} QAST::Want
- QAST::WVal(Num)
- Nn
- QAST::NVal(-0.00276742510726862)
- QAST::Var(lexicalref $days_per_year) $days_per_year
- QAST::Stmts+{QAST::SpecialArg} *
- QAST::Stmt
- QAST::Op(mul_n)
@@ -1514,12 +1518,14 @@
- Nn
- QAST::NVal(0.00237847173959481)
- QAST::Var(lexicalref $days_per_year) $days_per_year
- [-QAST::Op+{QAST::SpecialArg}(callstatic &infix:<*>)-]{+QAST::Stmts+{QAST::SpecialArg}+} *
- {+QAST::Stmt+}
{+ - QAST::Op(mul_n)+}
{+ -+} QAST::Want
- QAST::WVal(Num)
- Nn
- QAST::NVal(-2.96589568540238e-05)
- QAST::Var(lexicalref $days_per_year) $days_per_year
- QAST::Stmts+{QAST::SpecialArg} *
- QAST::Stmt
- QAST::Op(mul_n)
@@ -1559,12 +1565,14 @@
- Nn
- QAST::NVal(0.00162824170038242)
- QAST::Var(lexicalref $days_per_year) $days_per_year
- [-QAST::Op+{QAST::SpecialArg}(callstatic &infix:<*>)-]{+QAST::Stmts+{QAST::SpecialArg}+} *
- {+QAST::Stmt+}
{+ - QAST::Op(mul_n)+}
{+ -+} QAST::Want
- QAST::WVal(Num)
- Nn
- QAST::NVal(-9.51592254519716e-05)
- QAST::Var(lexicalref $days_per_year) $days_per_year
- QAST::Stmts+{QAST::SpecialArg} *
- QAST::Stmt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment