| Index: src/x64/full-codegen-x64.cc | 
| diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc | 
| index edd9e8102dfc7e347f157a53751b71db951c5597..d0c71be12fb76aade88031dcfd1d734ec3945ecb 100644 | 
| --- a/src/x64/full-codegen-x64.cc | 
| +++ b/src/x64/full-codegen-x64.cc | 
| @@ -712,8 +712,10 @@ void FullCodeGenerator::EmitDeclaration(Variable* variable, | 
| __ push(rsi); | 
| __ Push(variable->name()); | 
| // Declaration nodes are always introduced in one of two modes. | 
| -        ASSERT(mode == Variable::VAR || mode == Variable::CONST); | 
| -        PropertyAttributes attr = (mode == Variable::VAR) ? NONE : READ_ONLY; | 
| +        ASSERT(mode == Variable::VAR || | 
| +               mode == Variable::CONST || | 
| +               mode == Variable::LET); | 
| +        PropertyAttributes attr = (mode == Variable::CONST) ? READ_ONLY : NONE; | 
| __ Push(Smi::FromInt(attr)); | 
| // Push initial value, if any. | 
| // Note: For variables we must not push an initial value (such as | 
|  |