Chromium Code Reviews| Index: runtime/vm/dart.cc |
| =================================================================== |
| --- runtime/vm/dart.cc (revision 45661) |
| +++ runtime/vm/dart.cc (working copy) |
| @@ -232,7 +232,7 @@ |
| } else { |
| // Initialize from snapshot (this should replicate the functionality |
| // of Object::Init(..) in a regular isolate creation path. |
|
Ivan Posva
2015/05/08 23:52:00
Please update the comment.
siva
2015/05/11 18:22:13
Refactor the code a bit to do the Object::Init(..)
|
| - Object::InitFromSnapshot(isolate); |
| + Object::Init(isolate); |
| // TODO(turnidge): Remove once length is not part of the snapshot. |
| const Snapshot* snapshot = Snapshot::SetupFromBuffer(snapshot_buffer); |