Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
fernandezseb committed Jan 23, 2024
1 parent c37ac83 commit 958ba14
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/VM/Instructions/ComparisonInstructions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ void ifne(INSTRUCTION_ARGS)
}
}

void iflt(const u1* args, u2 argsCount, i1 arg, JavaHeap* heap, VMThread* thread, VM* VM)
void iflt(INSTRUCTION_ARGS)
{
const u1 byte1 = args[0];
const u1 byte2 = args[1];
Expand Down
4 changes: 2 additions & 2 deletions src/VM/Instructions/ConstantInstructions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@

#include "ConstantInstructions.h"

#include "Data/Variable.h"
#include "VM/VM.h"
#include "Data/Variable.h"
#include "Util.h"

#include <bit>

#include "Util.h"

void nop(INSTRUCTION_ARGS)
{
Expand Down
1 change: 0 additions & 1 deletion src/VM/VM.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,6 @@ ClassInfo* VM::getClass(const char* className, VMThread* thread)

void VM::executeNativeMethod(const ClassInfo* targetClass, const MethodInfo* methodInfo, JavaHeap* heap, VMThread* thread)
{
// TODO: Push native stackframe before executing and pop after executing
const char* className = targetClass->getName();
printf("Running native code of method: %s\n", className);
const char* description = targetClass->constantPool->getString(methodInfo->descriptorIndex);
Expand Down

0 comments on commit 958ba14

Please sign in to comment.