Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/mathpresso/mathpresso_p.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

// [Dependencies]
#include "./mathpresso.h"
#include <asmjit/asmjit.h>
#include <asmjit/x86.h>

#include <limits.h>
#include <math.h>
Expand Down
4 changes: 2 additions & 2 deletions src/mathpresso/mpcompiler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ JitCompiler::JitCompiler(ZoneAllocator* allocator, x86::Compiler* cc)
JitCompiler::~JitCompiler() {}

void JitCompiler::beginFunction() {
FuncNode* funcNode = cc->addFunc(FuncSignatureT<void, double*, double*>(CallConvId::kCDecl));
FuncNode* funcNode = cc->addFunc(FuncSignature::build<void, double*, double*>(CallConvId::kCDecl));

varPtr = cc->newIntPtr("varPtr");
constPtr = cc->newIntPtr("constPtr");
Expand Down Expand Up @@ -777,7 +777,7 @@ void JitCompiler::inlineCall(const x86::Xmm& dst, const x86::Xmm* args, uint32_t
uint32_t i;

// Use function builder to build a function prototype.
FuncSignatureBuilder signature;
FuncSignature signature;
signature.setRetT<double>();

for (i = 0; i < count; i++)
Expand Down
Loading