Index: test/mjsunit/tools/codemap.js |
diff --git a/test/mjsunit/tools/codemap.js b/test/mjsunit/tools/codemap.js |
index 06a91e81028de1ab4aab8e37d3a95e87ade974c7..81fb81015e342ae8871b5cc4b9086c44c464fab4 100644 |
--- a/test/mjsunit/tools/codemap.js |
+++ b/test/mjsunit/tools/codemap.js |
@@ -30,7 +30,7 @@ |
function newCodeEntry(size, name) { |
- return new devtools.profiler.CodeMap.CodeEntry(size, name); |
+ return new CodeMap.CodeEntry(size, name); |
}; |
@@ -47,7 +47,7 @@ function assertNoEntry(codeMap, addr) { |
(function testLibrariesAndStaticCode() { |
- var codeMap = new devtools.profiler.CodeMap(); |
+ var codeMap = new CodeMap(); |
codeMap.addLibrary(0x1500, newCodeEntry(0x3000, 'lib1')); |
codeMap.addLibrary(0x15500, newCodeEntry(0x5000, 'lib2')); |
codeMap.addLibrary(0x155500, newCodeEntry(0x10000, 'lib3')); |
@@ -97,7 +97,7 @@ function assertNoEntry(codeMap, addr) { |
(function testDynamicCode() { |
- var codeMap = new devtools.profiler.CodeMap(); |
+ var codeMap = new CodeMap(); |
codeMap.addCode(0x1500, newCodeEntry(0x200, 'code1')); |
codeMap.addCode(0x1700, newCodeEntry(0x100, 'code2')); |
codeMap.addCode(0x1900, newCodeEntry(0x50, 'code3')); |
@@ -123,7 +123,7 @@ function assertNoEntry(codeMap, addr) { |
(function testCodeMovesAndDeletions() { |
- var codeMap = new devtools.profiler.CodeMap(); |
+ var codeMap = new CodeMap(); |
codeMap.addCode(0x1500, newCodeEntry(0x200, 'code1')); |
codeMap.addCode(0x1700, newCodeEntry(0x100, 'code2')); |
assertEntry(codeMap, 'code1', 0x1500); |
@@ -139,7 +139,7 @@ function assertNoEntry(codeMap, addr) { |
(function testDynamicNamesDuplicates() { |
- var codeMap = new devtools.profiler.CodeMap(); |
+ var codeMap = new CodeMap(); |
// Code entries with same names but different addresses. |
codeMap.addCode(0x1500, newCodeEntry(0x200, 'code')); |
codeMap.addCode(0x1700, newCodeEntry(0x100, 'code')); |
@@ -152,7 +152,7 @@ function assertNoEntry(codeMap, addr) { |
(function testStaticEntriesExport() { |
- var codeMap = new devtools.profiler.CodeMap(); |
+ var codeMap = new CodeMap(); |
codeMap.addStaticCode(0x1500, newCodeEntry(0x3000, 'lib1')); |
codeMap.addStaticCode(0x15500, newCodeEntry(0x5000, 'lib2')); |
codeMap.addStaticCode(0x155500, newCodeEntry(0x10000, 'lib3')); |
@@ -163,7 +163,7 @@ function assertNoEntry(codeMap, addr) { |
(function testDynamicEntriesExport() { |
- var codeMap = new devtools.profiler.CodeMap(); |
+ var codeMap = new CodeMap(); |
codeMap.addCode(0x1500, newCodeEntry(0x200, 'code1')); |
codeMap.addCode(0x1700, newCodeEntry(0x100, 'code2')); |
codeMap.addCode(0x1900, newCodeEntry(0x50, 'code3')); |