Chromium Code Reviews| Index: src/hydrogen.cc |
| =================================================================== |
| --- src/hydrogen.cc (revision 15397) |
| +++ src/hydrogen.cc (working copy) |
| @@ -5768,7 +5768,9 @@ |
| Handle<Object> raw_boilerplate(literals->get(expr->literal_index()), |
| isolate()); |
| + bool uninitialized= false; |
|
Jakob Kummerow
2013/07/01 13:42:57
nit: spaces around '='
|
| if (raw_boilerplate->IsUndefined()) { |
| + uninitialized = true; |
| raw_boilerplate = Runtime::CreateArrayLiteralBoilerplate( |
| isolate(), literals, expr->constant_elements()); |
| if (raw_boilerplate.is_null()) { |
| @@ -5865,9 +5867,12 @@ |
| case FAST_HOLEY_ELEMENTS: |
| case FAST_DOUBLE_ELEMENTS: |
| case FAST_HOLEY_DOUBLE_ELEMENTS: |
| - Add<HStoreKeyed>(elements, key, value, |
| - boilerplate_elements_kind); |
| - break; |
| + { |
|
Jakob Kummerow
2013/07/01 13:42:57
nit: the opening '{' can go on the line before, re
|
| + HStoreKeyed* instr = Add<HStoreKeyed>(elements, key, value, |
| + boilerplate_elements_kind); |
| + instr->SetUninitialized(uninitialized); |
| + break; |
| + } |
| default: |
| UNREACHABLE(); |
| break; |