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

Unified Diff: src/full-codegen/full-codegen.h

Issue 1312613003: Ensure hole checks take place in switch statement scopes (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: style fixes Created 5 years, 4 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/full-codegen/full-codegen.h
diff --git a/src/full-codegen/full-codegen.h b/src/full-codegen/full-codegen.h
index e8e8707c6b2a27f2811db8bd8d9259cfab0d8a4b..d86e2eed08c866faf384aa1dcaa62f8ec916fcb9 100644
--- a/src/full-codegen/full-codegen.h
+++ b/src/full-codegen/full-codegen.h
@@ -701,6 +701,8 @@ class FullCodeGenerator: public AstVisitor {
FunctionLiteral* literal() { return info_->literal(); }
Scope* scope() { return scope_; }
+ bool NeedsHoleCheck(VariableProxy* proxy);
Michael Starzinger 2015/08/26 11:36:58 nit: Please move the declaration away from the sim
Dan Ehrenberg 2015/08/27 01:40:49 Done
Dan Ehrenberg 2015/08/27 01:40:49 Done
+
static Register result_register();
static Register context_register();

Powered by Google App Engine
This is Rietveld 408576698