| Index: test/mjsunit/tools/profile.js
|
| diff --git a/test/mjsunit/tools/profile.js b/test/mjsunit/tools/profile.js
|
| index 87ec8fafd51c2724b941e62705338576e375d60c..4a938600be5b8f1a304842998accacfd73830fb8 100644
|
| --- a/test/mjsunit/tools/profile.js
|
| +++ b/test/mjsunit/tools/profile.js
|
| @@ -270,7 +270,8 @@ function assertNodeWeights(root, path, selfTicks, totalTicks) {
|
| counted++;
|
| }
|
|
|
| - var flatProfile = testDriver.profile.getFlatProfile();
|
| + var flatProfile =
|
| + testDriver.profile.getFlatProfile().getRoot().exportChildren();
|
| assertEquals(counted, flatProfile.length, 'counted vs. flatProfile');
|
| for (var i = 0; i < flatProfile.length; ++i) {
|
| var rec = flatProfile[i];
|
|
|