|
|
|
|
|
|
|
|
|
Decompiling Compiled Functions
|
|
|
|
|
|
Organization: | RMIT University |
Department: | Department of Mathematics |
|
|
|
|
|
|
0205-928
|
|
|
|
|
|
1998-04-13
|
|
|
|
|
|
Decompile[compiledFunction] decompiles a compiled function and returns a Function that would evaluate exactly the same as if the pseudocompiler were executing op codes. This is useful for seeing how the pseudocompiler works. A simple example is Decompile[Compile[x, x*Exp[x]]]. Registers named rB, rI, rR, and rC are used for holding boolean, integer, real, and complex datatypes. These registers can be traced using On[rI, rR] etc.
|
|
|
|
|
|
|
|
|
|
|
|
General Utilities, Code generation, Programming, Debugging tools, Compiling, Trace, Efficiency, Decompile.m
|
|
|
|
|
|
| Decompile.m (7.3 KB) - Mathematica package |
|
|
|
|
|
|
|
| | | | | |
|