Home | History | Annotate | Download | only in tools

Lines Matching refs:this

2 // Use of this source code is governed by a BSD-style license that can be
37 LogReader.call(this, {
40 processor: this.processCodeCreation },
42 processor: this.processCodeMove },
44 processor: this.processCodeDelete },
46 processor: this.processFunctionMove },
49 processor: this.processPropertyIC.bind(this, "LoadIC") },
52 processor: this.processPropertyIC.bind(this, "StoreIC") },
55 processor: this.processPropertyIC.bind(this, "KeyedLoadIC") },
58 processor: this.processPropertyIC.bind(this, "KeyedStoreIC") },
62 processor: this.processCompareIC },
66 processor: this.processBinaryOpIC },
69 processor: this.processToBooleanIC },
72 processor: this.processPatchIC },
74 this.deserializedEntriesNames_ = [];
75 this.profile_ = new Profile();
77 this.LoadIC = 0;
78 this.StoreIC = 0;
79 this.KeyedLoadIC = 0;
80 this.KeyedStoreIC = 0;
81 this.CompareIC = 0;
82 this.BinaryOpIC = 0;
83 this.ToBooleanIC = 0;
84 this.PatchIC = 0;
97 this.lastLogFileName_ = fileName;
100 this.processLogLine(line);
104 print("Load: " + this.LoadIC);
105 print("Store: " + this.StoreIC);
106 print("KeyedLoad: " + this.KeyedLoadIC);
107 print("KeyedStore: " + this.KeyedStoreIC);
108 print("CompareIC: " + this.CompareIC);
109 print("BinaryOpIC: " + this.BinaryOpIC);
110 print("ToBooleanIC: " + this.ToBooleanIC);
111 print("PatchIC: " + this.PatchIC);
117 name = this.deserializedEntriesNames_[start] || name;
121 this.profile_.addFuncCode(type, name, start, size, funcAddr, state);
123 this.profile_.addCode(type, name, start, size);
129 this.profile_.moveCode(from, to);
134 this.profile_.deleteCode(start);
139 this.profile_.moveFunc(from, to);
154 this[type]++;
155 var entry = this.profile_.findEntry(pc);
157 this.formatName(entry) + ":" + line + ":" + column + " " + name +
164 var entry = this.profile_.findEntry(pc);
165 this.CompareIC++;
169 this.formatName(entry) + ":" + line + ":" + column);
174 var entry = this.profile_.findEntry(pc);
175 this.BinaryOpIC++;
177 this.formatName(entry) + ":" + line + ":" + column);
182 var entry = this.profile_.findEntry(pc);
183 this.ToBooleanIC++;
185 this.formatName(entry) + ":" + line + ":" + column);
189 var entry = this.profile_.findEntry(pc);
190 this.PatchIC++;
192 this.formatName(entry));
209 this.args_ = args;
210 this.result_ = ArgumentsProcessor.DEFAULTS;
212 this.argsDispatch_ = {
228 while (this.args_.length) {
229 var arg = this.args_.shift();
231 this.result_.logFileName = arg;
240 if (arg in this.argsDispatch_) {
241 var dispatch = this.argsDispatch_[arg];
242 this.result_[dispatch[0]] = userValue == null ? dispatch[1] : userValue;
252 return this.result_;
270 for (var arg in this.argsDispatch_) {
272 var dispatch = this.argsDispatch_[arg];
273 for (var synArg in this.argsDispatch_) {
274 if (arg !== synArg && dispatch === this.argsDispatch_[synArg]) {
276 delete this.argsDispatch_[synArg];