Chromium Code Reviews| Index: src/handles.h |
| =================================================================== |
| --- src/handles.h (revision 2670) |
| +++ src/handles.h (working copy) |
| @@ -126,7 +126,7 @@ |
| // handle, and return the result. |
| ASSERT(result < current_.limit); |
| current_.next = result + 1; |
| - *reinterpret_cast<Object**>(result) = value; |
| + memcpy(result, &value, sizeof(value)); |
| return reinterpret_cast<Object**>(result); |
| } |