X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/93a3786624b2768d89bfa27e46598dc64e2fb70a..40a37d088818fc2fbeba2ef850dbcaaf294befbf:/llint/LLIntThunks.h diff --git a/llint/LLIntThunks.h b/llint/LLIntThunks.h index b46cc00..98cff78 100644 --- a/llint/LLIntThunks.h +++ b/llint/LLIntThunks.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2012 Apple Inc. All rights reserved. + * Copyright (C) 2012, 2013 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -26,15 +26,17 @@ #ifndef LLIntThunks_h #define LLIntThunks_h -#include - -#if ENABLE(LLINT) - #include "MacroAssemblerCodeRef.h" namespace JSC { class VM; +struct ProtoCallFrame; + +extern "C" { + EncodedJSValue callToJavaScript(void*, VM*, ProtoCallFrame*); + EncodedJSValue callToNativeFunction(void*, VM*, ProtoCallFrame*); +} namespace LLInt { @@ -47,6 +49,4 @@ MacroAssemblerCodeRef programEntryThunkGenerator(VM*); } } // namespace JSC::LLInt -#endif // ENABLE(LLINT) - #endif // LLIntThunks_h