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

Unified Diff: src/hydrogen.cc

Issue 7837024: Fix presubmit failures. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 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
« 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/hydrogen.cc
diff --git a/src/hydrogen.cc b/src/hydrogen.cc
index c703c768effc6a71c9ea3aef1dd2983128fc931f..01046bf9bfe52438cfe2f7c65dbc6469a0d92b29 100644
--- a/src/hydrogen.cc
+++ b/src/hydrogen.cc
@@ -3135,7 +3135,8 @@ void HGraphBuilder::VisitVariableProxy(VariableProxy* expr) {
switch (variable->location()) {
case Variable::UNALLOCATED: {
LookupResult lookup;
- GlobalPropertyAccess type = LookupGlobalProperty(variable, &lookup, false);
+ GlobalPropertyAccess type =
+ LookupGlobalProperty(variable, &lookup, false);
if (type == kUseCell &&
info()->global_object()->IsAccessCheckNeeded()) {
@@ -3172,7 +3173,7 @@ void HGraphBuilder::VisitVariableProxy(VariableProxy* expr) {
return ast_context()->ReturnValue(value);
}
- case Variable::CONTEXT:{
+ case Variable::CONTEXT: {
if (variable->mode() == Variable::CONST) {
return Bailout("reference to const context slot");
}
@@ -3634,7 +3635,8 @@ void HGraphBuilder::HandleCompoundAssignment(Assignment* expr) {
int count = info()->scope()->num_parameters();
for (int i = 0; i < count; ++i) {
if (var == info()->scope()->parameter(i)) {
- Bailout("assignment to parameter, function uses arguments object");
+ Bailout(
+ "assignment to parameter, function uses arguments object");
}
}
}
« 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