Make builder happy.
Review URL: http://codereview.chromium.org/
7046004
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7954
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
-// Copyright 2010 the V8 project authors. All rights reserved.
+// Copyright 2011 the V8 project authors. All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
// FALLTHROUGH
case i::Token::IDENTIFIER: {
Identifier id = ParseIdentifier(CHECK_OK);
- result = Expression::Identifier(id);
+ result = Expression::FromIdentifier(id);
break;
}
-// Copyright 2010 the V8 project authors. All rights reserved.
+// Copyright 2011 the V8 project authors. All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
return Expression(kUnknownExpression);
}
- static Expression Identifier(Identifier id) {
+ static Expression FromIdentifier(Identifier id) {
return Expression(kIdentifierFlag | (id.type_ << kIdentifierShift));
}