Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(200)

Unified Diff: src/func-name-inferrer.h

Issue 67165: Change the function name collector to tolerate expressions that contain... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/func-name-inferrer.h
===================================================================
--- src/func-name-inferrer.h (revision 1713)
+++ src/func-name-inferrer.h (working copy)
@@ -70,7 +70,8 @@
void SetFuncToInfer(FunctionLiteral* func_to_infer) {
if (IsOpen()) {
- ASSERT(func_to_infer_ == NULL);
+ // If we encounter another function literal after already having
+ // encountered one, the second one replaces the first.
func_to_infer_ = func_to_infer;
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698