ReadyTalk / avian

[INACTIVE] Avian is a lightweight virtual machine and class library designed to provide a useful subset of Java's features, suitable for building self-contained applications.
https://readytalk.github.io/avian/
Other
1.22k stars 173 forks source link

Refactoring to allow up to 64 registers #377

Closed joshuawarner32 closed 9 years ago

joshuawarner32 commented 9 years ago

This does several things:

This compiles on:

Additionally, all the tests pass on the above platforms, with the obvious exception of ios-arm (lacking a jail-broken device).

Future improvement:

joshuawarner32 commented 9 years ago

@dicej, in case my IM client wasn't working, I pushed a version of your in-progress work rebased on top of this (conflicts fixed) to https://github.com/joshuawarner32/avian/tree/dicej-master-rebased. I'm happy to do the same with any further work you might have done, but not pushed yet.

dicej commented 9 years ago

Looks good to me. Let me know when the tests have passed and I'll merge it.

joshuawarner32 commented 9 years ago

I force-pushed an update to my latest commit, to fix the cmake build.

The tests now pass for me on:

./test/ci.sh fails for me on darwin, but that's a separate issue (I the very latest java 1.8 installed, and it fails in the openjdk build): Assertion failed: (cl->fixedSize + (cl->arrayField ? cl->arrayField->elementSize : 0) < 32 * BytesPerWord), function typeObjectMask, file src/tools/type-generator/main.cpp, line 1332.

dicej commented 9 years ago

Travis still doesn't like it. Did you push to the right branch?

joshuawarner32 commented 9 years ago

Yeah, the new travis failure is just because travis apparently uses a slightly older version of gcc, which doesn't like the member begin() and end() methods for the enhanced-for loop. I just pushed an update for that.

joshuawarner32 commented 9 years ago

Travis seems to be taking an excessively long time to even start the build lately. I wonder if they're running into a resource wall and severely rate-limiting open-source projects.