]> git.saurik.com Git - apple/javascriptcore.git/blobdiff - llint/LLIntThunks.h
JavaScriptCore-7600.1.4.15.12.tar.gz
[apple/javascriptcore.git] / llint / LLIntThunks.h
index b46cc00e76f93abe61de5ac8f3dcfd33d32937b3..98cff784f6ef47b90aba6523756d4673bf75da7b 100644 (file)
@@ -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
 #ifndef LLIntThunks_h
 #define LLIntThunks_h
 
-#include <wtf/Platform.h>
-
-#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