Skip to content

Commit

Permalink
test range
Browse files Browse the repository at this point in the history
  • Loading branch information
spoonincode committed Oct 1, 2024
1 parent a33f5ef commit 39e539d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libraries/chain/webassembly/runtimes/eos-vm-oc/LLVMJIT.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND

#include "LLVMJIT.h"
#include "LLVMEmitIR.h"
#include <iostream>

#include "llvm/ExecutionEngine/ExecutionEngine.h"
#include "llvm/ExecutionEngine/RTDyldMemoryManager.h"
Expand Down Expand Up @@ -321,6 +322,8 @@ namespace LLVMJIT
}
if(num_functions_stack_size_found != module.functions.defs.size())
_exit(1);
std::cerr << "*******" << std::endl;
std::cerr << jitModule->final_pic_code.size() << " " << generated_code_size_limit << std::endl;
if(jitModule->final_pic_code.size() >= generated_code_size_limit)
_exit(1);

Expand Down

0 comments on commit 39e539d

Please sign in to comment.