Index: src/compiler.h |
diff --git a/src/compiler.h b/src/compiler.h |
index c6685f072fcd80b6a57d9a939c3d8f0d037726ee..0710b097c0f73815b7eb5670e1fc5138639c25b5 100644 |
--- a/src/compiler.h |
+++ b/src/compiler.h |
@@ -621,6 +621,10 @@ class Compiler : public AllStatic { |
static Handle<SharedFunctionInfo> GetSharedFunctionInfo( |
FunctionLiteral* node, Handle<Script> script, CompilationInfo* outer); |
+ // Create a shared function info object for a native function literal. |
+ static Handle<SharedFunctionInfo> GetSharedFunctionInfoForNative( |
+ v8::Extension* extension, Handle<String> name); |
+ |
enum ConcurrencyMode { NOT_CONCURRENT, CONCURRENT }; |
// Generate and return optimized code or start a concurrent optimization job. |