Commit 97ce448c authored by peastman's avatar peastman
Browse files

Merge pull request #806 from peastman/jit32

Updated to latest asmjit, which supports 32 bit mode
parents fabb38d1 01da1b51
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
...@@ -76,7 +76,7 @@ Error X86Scheduler::run(Node* start, Node* stop) { ...@@ -76,7 +76,7 @@ Error X86Scheduler::run(Node* start, Node* stop) {
Node* next = node_->getNext(); Node* next = node_->getNext();
ASMJIT_ASSERT(node_->getType() == kNodeTypeInst); ASMJIT_ASSERT(node_->getType() == kNodeTypeInst);
printf(" %s\n", X86Util::getInstInfo(static_cast<InstNode*>(node_)->getCode()).getInstName()); printf(" %s\n", X86Util::getInstInfo(static_cast<InstNode*>(node_)->getInstId()).getInstName());
node_ = next; node_ = next;
} }
......
...@@ -90,7 +90,7 @@ static void encodeString(const string& str, string* outString) { ...@@ -90,7 +90,7 @@ static void encodeString(const string& str, string* outString) {
// Below 32 is symbolic. // Below 32 is symbolic.
char buf[ 32 ]; char buf[ 32 ];
snprintf(buf, sizeof(buf), "&#x%02X;", (unsigned) (c & 0xff)); sprintf(buf, "&#x%02X;", (unsigned) (c & 0xff));
//*ME: warning C4267: convert 'size_t' to 'int' //*ME: warning C4267: convert 'size_t' to 'int'
//*ME: Int-Cast to make compiler happy ... //*ME: Int-Cast to make compiler happy ...
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment