Skip to content

Commit ca39d3b

Browse files
committed
Run formatter
1 parent aae0295 commit ca39d3b

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/Lua/Runtime/LuaVirtualMachine.cs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public bool Pop(Instruction instruction, int frameBase)
5353
public bool PopFromBuffer(Span<LuaValue> result)
5454
{
5555
ref var callStack = ref Thread.CallStack;
56-
Re:
56+
Re:
5757
var frames = callStack.AsSpan();
5858
if (frames.Length == BaseCallStackCount) return false;
5959
ref readonly var frame = ref frames[^1];
@@ -193,6 +193,7 @@ public async ValueTask<int> ExecuteClosureAsyncImpl()
193193
{
194194
TaskResult = await Task;
195195
Task = default;
196+
196197
Thread.PopCallStackFrame();
197198
switch (postOperation)
198199
{
@@ -266,7 +267,7 @@ static bool MoveNext(ref VirtualMachineExecutionContext context, out PostOperati
266267
try
267268
{
268269
// This is a label to restart the execution when new function is called or restarted
269-
Restart:
270+
Restart:
270271
ref var instructionsHead = ref context.Chunk.Instructions[0];
271272
var frameBase = context.FrameBase;
272273
var stack = context.Stack;
@@ -947,7 +948,7 @@ static bool MoveNext(ref VirtualMachineExecutionContext context, out PostOperati
947948
}
948949
}
949950

950-
End:
951+
End:
951952
postOperation = PostOperationType.None;
952953
LuaValueArrayPool.Return1024(context.ResultsBuffer);
953954
return false;
@@ -1542,7 +1543,7 @@ static bool ExecuteCompareOperationMetaMethod(LuaValue vb, LuaValue vc,
15421543
{
15431544
doRestart = false;
15441545
bool reverseLe = false;
1545-
ReCheck:
1546+
ReCheck:
15461547
if (vb.TryGetMetamethod(context.State, name, out var metamethod) ||
15471548
vc.TryGetMetamethod(context.State, name, out metamethod))
15481549
{

0 commit comments

Comments
 (0)