Reviewers: ,
Description:
Fix presubmit failures.
[email protected]
Please review this at http://codereview.chromium.org/7837024/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files:
M src/hydrogen.cc
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");
}
}
}
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev