JITOpcodesProxy.cpp 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. // Copyright (C) 2012 Sony Computer Entertainment Inc.
  2. // All Rights Reserved.
  3. #include "config.h"
  4. #if ENABLE(JIT) && ENABLE(DETACHED_JIT) && !BUILDING_DETACHED_JIT
  5. #include "AbstractMacroAssembler.h"
  6. #include "JITStubs.h"
  7. #include "JIT.h"
  8. #include "JSCBridge.h"
  9. #include "Logging.h"
  10. namespace JSC {
  11. #pragma message "clean me up"
  12. /*
  13. JIT::CodeRef JIT::privateCompileCTINativeCall(VM * vm, NativeFunction func)
  14. {
  15. PROFILE_FUNCTION_CALL;
  16. JSCBridge * const bridge(JSCBridge::sharedInstance());
  17. JSCBridge::Payload * payload(bridge->payload());
  18. payload->sendArgument(reinterpret_cast<uintptr_t>(this));
  19. payload->sendArgument(reinterpret_cast<uintptr_t>(vm));
  20. payload->sendArgument(reinterpret_cast<uintptr_t>(func));
  21. CodeRef * result(reinterpret_cast<CodeRef *>(bridge->requestCompilerTask(JSCBridge::e_JIT_privateCompileCTINativeCall, this)));
  22. CodeRef retval(*result);
  23. result->~CodeRef();
  24. JITSharedDataMemory::shared_free(result);
  25. return retval;
  26. }
  27. */
  28. } // namespace JSC
  29. #endif // #if ENABLE(JIT) && ENABLE(DETACHED_JIT) && !BUILDING_DETACHED_JIT