| Index: src/debug-delay.js
|
| ===================================================================
|
| --- src/debug-delay.js (revision 2752)
|
| +++ src/debug-delay.js (working copy)
|
| @@ -466,11 +466,16 @@
|
| return %FunctionGetSourceCode(f);
|
| };
|
|
|
| -Debug.assembler = function(f) {
|
| +Debug.disassemble = function(f) {
|
| if (!IS_FUNCTION(f)) throw new Error('Parameters have wrong types.');
|
| - return %FunctionGetAssemblerCode(f);
|
| + return %DebugDisassembleFunction(f);
|
| };
|
|
|
| +Debug.disassembleConstructor = function(f) {
|
| + if (!IS_FUNCTION(f)) throw new Error('Parameters have wrong types.');
|
| + return %DebugDisassembleConstructor(f);
|
| +};
|
| +
|
| Debug.sourcePosition = function(f) {
|
| if (!IS_FUNCTION(f)) throw new Error('Parameters have wrong types.');
|
| return %FunctionGetScriptSourcePosition(f);
|
|
|