Index: src/debug-delay.js |
=================================================================== |
--- src/debug-delay.js (revision 2753) |
+++ src/debug-delay.js (working copy) |
@@ -466,16 +466,11 @@ |
return %FunctionGetSourceCode(f); |
}; |
-Debug.disassemble = function(f) { |
+Debug.assembler = function(f) { |
if (!IS_FUNCTION(f)) throw new Error('Parameters have wrong types.'); |
- return %DebugDisassembleFunction(f); |
+ return %FunctionGetAssemblerCode(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); |