Chromium Code Reviews| Index: src/full-codegen.cc |
| =================================================================== |
| --- src/full-codegen.cc (revision 9568) |
| +++ src/full-codegen.cc (working copy) |
| @@ -520,7 +520,7 @@ |
| if (var->IsUnallocated()) { |
| array->set(j++, *(var->name())); |
| if (decl->fun() == NULL) { |
| - if (var->mode() == Variable::CONST) { |
| + if (var->mode() == CONST) { |
| // In case this is const property use the hole. |
| array->set_the_hole(j++); |
| } else { |