Index: src/ast.cc |
diff --git a/src/ast.cc b/src/ast.cc |
index 874f984ff6bc61a4bcb470b097e67a44795171fd..5659dbb9a395fde93d159098246fbe976f347b51 100644 |
--- a/src/ast.cc |
+++ b/src/ast.cc |
@@ -157,6 +157,8 @@ bool FunctionLiteral::uses_super() const { |
} |
+// Helper to find an existing shared function info in the baseline code for the |
+// given function literal. Used to canonicalize SharedFunctionInfo objects. |
void FunctionLiteral::InitializeSharedInfo( |
Handle<Code> unoptimized_code) { |
for (RelocIterator it(*unoptimized_code); !it.done(); it.next()) { |