Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(234)

Unified Diff: tools/tickprocessor.js

Issue 574027: Fix tests after r3811. (Closed)
Patch Set: Created 10 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/mjsunit/tools/tickprocessor.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/tickprocessor.js
diff --git a/tools/tickprocessor.js b/tools/tickprocessor.js
index a40d95d29f6fababe6727dcf3a651ef3c15fbf2f..a3e14c3ae580aa9ca13d77c283a39b525d7eb35c 100644
--- a/tools/tickprocessor.js
+++ b/tools/tickprocessor.js
@@ -269,6 +269,14 @@ TickProcessor.prototype.processLogFile = function(fileName) {
};
+TickProcessor.prototype.processLogFileInTest = function(fileName) {
+ // Hack file name to avoid dealing with platform specifics.
+ this.lastLogFileName_ = 'v8.log';
+ var contents = readFile(fileName);
+ this.processLogChunk(contents);
+};
+
+
TickProcessor.prototype.processSharedLibrary = function(
name, startAddr, endAddr) {
var entry = this.profile_.addLibrary(name, startAddr, endAddr);
« no previous file with comments | « test/mjsunit/tools/tickprocessor.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698