Ignore:
Timestamp:
Jan 7, 2010, 9:47:21 PM (15 years ago)
Author:
Laszlo Gombos
Message:

2010-01-07 Laszlo Gombos <Laszlo Gombos>

Reviewed by Gavin Barraclough.

[Symbian] Port ARM traditional JIT Trampolines to RVCT
https://bugs.webkit.org/show_bug.cgi?id=30552

Take the GCC implementation and mechanically convert
it to RVCT syntax.

Use 'bx rX' instead of 'mov pc, rX' when it is available.

Developed in cooperation with Iain Campbell and Gabor Loki.

  • JavaScriptCore.pri: Extra step to generate RVCT stubs. The script generation intentionally executed all the time not just for RVCT targets.
  • create_rvct_stubs: Added. Perl script to expand precompiler macros for RVCT assembler - the template is defined in JITStubs.cpp.
  • jit/JITStubs.cpp: (JSC::ctiTrampoline): (JSC::ctiVMThrowTrampoline): (JSC::ctiOpThrowNotCaught):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/JavaScriptCore.pri

    r52924 r52970  
    8484JSCBISON += \
    8585    parser/Grammar.y
     86
     87RVCT_STUB_FILES += \
     88    jit/JITStubs.cpp
    8689
    8790SOURCES += \
     
    264267addExtraCompilerWithHeader(jscbison)
    265268
     269# GENERATOR 3: JIT Stub functions for RVCT
     270rvctstubs.output = $${GENERATED_SOURCES_DIR}$${QMAKE_DIR_SEP}Generated${QMAKE_FILE_BASE}_RVCT.h
     271rvctstubs.commands = perl $$PWD/create_rvct_stubs ${QMAKE_FILE_NAME} -i > ${QMAKE_FILE_OUT}
     272rvctstubs.depend = ${QMAKE_FILE_NAME}
     273rvctstubs.input = RVCT_STUB_FILES
     274rvctstubs.CONFIG += no_link
     275addExtraCompiler(rvctstubs)
Note: See TracChangeset for help on using the changeset viewer.