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

Unified Diff: src/typing.cc

Issue 1332873003: Implement sloppy-mode block-defined functions (Annex B 3.3) (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: An extra test and comment fix Created 5 years, 3 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
Index: src/typing.cc
diff --git a/src/typing.cc b/src/typing.cc
index db5ca61a8e71b217dcbb8bce2d2894def51b20bd..2b7da14551811da59f0ba6e1d0a814befe56b166 100644
--- a/src/typing.cc
+++ b/src/typing.cc
@@ -136,6 +136,11 @@ void AstTyper::VisitEmptyStatement(EmptyStatement* stmt) {
}
+void AstTyper::VisitDelegateStatement(DelegateStatement* stmt) {
+ Visit(stmt->statement());
+}
+
+
void AstTyper::VisitIfStatement(IfStatement* stmt) {
// Collect type feedback.
if (!stmt->condition()->ToBooleanIsTrue() &&

Powered by Google App Engine
This is Rietveld 408576698