git ssb

0+

wanderer🌟 / js-primea-hypervisor



Commit 29003849d596ca5f1379096bd408c4c1f82c460f

stackTrace -> evmStackTrace

wanderer committed on 8/5/2016, 5:43:44 PM
Parent: ab4bcb92ec8d9a3fcaf593891c8069812603e70f

Files changed

debugInterface.jschanged
debugInterface.jsView
@@ -20,17 +20,17 @@
2020 }
2121
2222 get exportTable () {
2323 return {
24- 'print': function (offset = 0, length = 100) {
24+ 'print': function (offset, length) {
2525 console.log(`<DEBUG(str): ${Uint8ArrayToString(new Uint8Array(this.module.exports.memory, offset, length))}>`)
2626 }.bind(this),
2727
28- 'printHex': function (offset = 0, length = 100) {
28+ 'printHex': function (offset, length) {
2929 console.log(`<DEBUG(hex): ${Uint8ArrayToHexString(new Uint8Array(this.module.exports.memory, offset, length))}>`)
3030 }.bind(this),
3131
32- 'stackTrace': function (sp, op) {
32+ 'evmStackTrace': function (sp, op) {
3333 const opcode = opcodes(op)
3434 if (opcode.number) {
3535 opcode.name += opcode.number
3636 }

Built with git-ssb-web