Bug #11

Compiling debug build of System.String.Substring(I4,I4) method crashes the compiler

Added by Phil Garcia over 1 year ago. Updated over 1 year ago.

Status:Closed Start date:06/13/2010
Priority:Normal Due date:
Assignee:Simon Wollwage % Done:

0%

Category:Compiler Spent time: -
Target version:-

Description

Here's the error message:

Compiling System.String.Substring(I4 startIndex,I4 length)

Unhandled Exception: System.InvalidOperationException: Stack empty.
at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Collections.Generic.Stack`1.Pop()
at Mosa.Runtime.CompilerFramework.OperandDeterminationStage.LinkTemporaryMoves(Context ctx, BasicBlock block, BasicBlock nextBlock, Stack`1 stack) in X:\MOSA-Project\Source\Runtime\CompilerFramework\OperandDeterminationStage.cs:line 192 at Mosa.Runtime.CompilerFramework.OperandDeterminationStage.CreateTemporaryMoves(Context ctx, BasicBlock block, Stack`1 stack) in X:\MOSA-Project\Source\Runtime\CompilerFramework\OperandDeterminationStage.cs:line 154
at Mosa.Runtime.CompilerFramework.OperandDeterminationStage.AssignOperands(BasicBlock block) in X:\MOSA-Project\Source\Runtime\CompilerFramework\OperandDeterminationStage.cs:line 88
at Mosa.Runtime.CompilerFramework.OperandDeterminationStage.AssignOperands(BasicBlock block) in X:\MOSA-Project\Source\Runtime\CompilerFramework\OperandDeterminationStage.cs:line 98
at Mosa.Runtime.CompilerFramework.OperandDeterminationStage.AssignOperands(BasicBlock block) in X:\MOSA-Project\Source\Runtime\CompilerFramework\OperandDeterminationStage.cs:line 98
at Mosa.Runtime.CompilerFramework.OperandDeterminationStage.Run() in X:\MOSA-Project\Source\Runtime\CompilerFramework\OperandDeterminationStage.cs:line 58
at Mosa.Runtime.CompilerFramework.MethodCompilerBase.<Compile>b__0(IMethodCompilerStage stage) in X:\MOSA-Project\Source\Runtime\CompilerFramework\MethodCompilerBase.cs:line 221

History

Updated by Simon Wollwage over 1 year ago

  • Status changed from New to Closed

This issue has been solved during the work on issue #12

Updated by Simon Wollwage over 1 year ago

  • Assignee set to Simon Wollwage

Also available in: Atom PDF