Ticket #50169: patch-src-jit-emit_x64.dasc.diff

File patch-src-jit-emit_x64.dasc.diff, 609 bytes (added by mojca (Mojca Miklavec), 8 years ago)
  • src/jit/emit_x64.dasc

    https://github.com/MoarVM/MoarVM/issues/324
    https://github.com/MoarVM/MoarVM/commit/6ae4e7fdb82b147df79109f5567d77300c5a6e78
    
    old new  
    6161
    6262
    6363const MVMint32 MVM_jit_support(void) {
     64#ifdef __i386__
     65    /* Usually, this file should only be compiled only on a amd64
     66       platform; but when compiling 'fat' or 'universal' binaries, we
     67       may compile it for other platform. In this case we use the
     68       runtime check to disable the JIT */
     69    return 0;
     70#else
    6471    return 1;
     72#endif
    6573}
    6674
    6775const unsigned char * MVM_jit_actions(void) {