Full test (which fails)
This commit is contained in:
@@ -3,13 +3,13 @@ package vm
|
||||
type stackFrame struct {
|
||||
previousFunctionIndex int64
|
||||
previousInstructionIndex int64
|
||||
functionMemory *memory
|
||||
functionMemory *Memory
|
||||
}
|
||||
|
||||
func newStackFrame(state *State) *stackFrame {
|
||||
return &stackFrame{
|
||||
previousFunctionIndex: state.functionIndex,
|
||||
previousInstructionIndex: state.instructionIndex,
|
||||
functionMemory: newMemory(16),
|
||||
functionMemory: NewMemory(16),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user