Jump to content
  • Advertisement
Sign in to follow this  
3kimr

JIT Compiler Broken in Latest Trunk

This topic is 2238 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Were asBC_PUSH and asBC_POP removed in the latest trunk? Because the jit compiler isn't compiling with the latest version.

2>c:\users\mike\projects\irengine\src\deps\angelscript\extensions\as_jit.cpp(544): error C2065: 'asBC_POP' : undeclared identifier
2>c:\users\mike\projects\irengine\src\deps\angelscript\extensions\as_jit.cpp(544): error C2051: case expression not constant
2>c:\users\mike\projects\irengine\src\deps\angelscript\extensions\as_jit.cpp(556): error C2065: 'asBC_PUSH' : undeclared identifier
2>c:\users\mike\projects\irengine\src\deps\angelscript\extensions\as_jit.cpp(556): error C2051: case expression not constant
2>c:\users\mike\projects\irengine\src\deps\angelscript\extensions\as_jit.cpp(1854): error C2065: 'asBC_PUSH' : undeclared identifier
2>c:\users\mike\projects\irengine\src\deps\angelscript\extensions\as_jit.cpp(1854): error C2051: case expression not constant

Share this post


Link to post
Share on other sites
Advertisement
Yes. The JIT is currently not compatible with the WIP version.

As you can see on the WIP page, I'm making changes to optimize the byecode. When I'm done I'll work with Andrew to bring the JIT up to date with the new bytecode instructions.

Share this post


Link to post
Share on other sites
In a way of thinking you're right, but I don't consider the VM and it's bytecode instructions part of the application interface. The JIT compiler is the only reason for them to be in the angelscript.h header in the first place.

Share this post


Link to post
Share on other sites
I've released some fixes to the current JIT, and added a 2.23.0 branch. We also added 64 bit support on GCC/Linux (MSVC/Windows support will take a bit longer). I'll be updating the JIT to use the newer ops soon, hopefully in advance of the next official release.

Share this post


Link to post
Share on other sites
Great to hear that x64 is also available now, even if it is just Linux for now.

I'll probably need another week or so to finish up version 2.23.1 of AngelScript, mostly I'll be working on bug fixes and updating the documentation.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!