Index: test/mjsunit/tools/profile.js |
diff --git a/test/mjsunit/tools/profile.js b/test/mjsunit/tools/profile.js |
index 49eef3b0aaa329ec54399e6d7c489762e96c3191..9ed851b1af5c94e3d7b4522253cc436b37ab6a09 100644 |
--- a/test/mjsunit/tools/profile.js |
+++ b/test/mjsunit/tools/profile.js |
@@ -72,10 +72,10 @@ ProfileTestDriver.prototype.funcAddrs_ = { |
ProfileTestDriver.prototype.addFunctions_ = function() { |
- this.profile.addStaticCode('lib1', 0x11000, 0x12000); |
+ this.profile.addLibrary('lib1', 0x11000, 0x12000); |
this.profile.addStaticCode('lib1-f1', 0x11100, 0x11900); |
this.profile.addStaticCode('lib1-f2', 0x11200, 0x11500); |
- this.profile.addStaticCode('lib2', 0x21000, 0x22000); |
+ this.profile.addLibrary('lib2', 0x21000, 0x22000); |
this.profile.addStaticCode('lib2-f1', 0x21100, 0x21900); |
this.profile.addStaticCode('lib2-f2', 0x21200, 0x21500); |
this.profile.addCode('T', 'F1', 0x50100, 0x100); |