| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "src/arm64/instrument-arm64.h" | 5 #include "src/arm64/instrument-arm64.h" |
| 6 | 6 |
| 7 namespace v8 { | 7 namespace v8 { |
| 8 namespace internal { | 8 namespace internal { |
| 9 | 9 |
| 10 Counter::Counter(const char* name, CounterType type) | 10 Counter::Counter(const char* name, CounterType type) |
| (...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 357 InstrumentLoadStorePair(instr); | 357 InstrumentLoadStorePair(instr); |
| 358 } | 358 } |
| 359 | 359 |
| 360 | 360 |
| 361 void Instrument::VisitLoadStorePairPreIndex(Instruction* instr) { | 361 void Instrument::VisitLoadStorePairPreIndex(Instruction* instr) { |
| 362 Update(); | 362 Update(); |
| 363 InstrumentLoadStorePair(instr); | 363 InstrumentLoadStorePair(instr); |
| 364 } | 364 } |
| 365 | 365 |
| 366 | 366 |
| 367 void Instrument::VisitLoadStorePairNonTemporal(Instruction* instr) { | |
| 368 Update(); | |
| 369 InstrumentLoadStorePair(instr); | |
| 370 } | |
| 371 | |
| 372 | |
| 373 void Instrument::VisitLoadLiteral(Instruction* instr) { | 367 void Instrument::VisitLoadLiteral(Instruction* instr) { |
| 374 Update(); | 368 Update(); |
| 375 static Counter* counter = GetCounter("Load Literal"); | 369 static Counter* counter = GetCounter("Load Literal"); |
| 376 counter->Increment(); | 370 counter->Increment(); |
| 377 } | 371 } |
| 378 | 372 |
| 379 | 373 |
| 380 void Instrument::InstrumentLoadStore(Instruction* instr) { | 374 void Instrument::InstrumentLoadStore(Instruction* instr) { |
| 381 static Counter* load_int_counter = GetCounter("Load Integer"); | 375 static Counter* load_int_counter = GetCounter("Load Integer"); |
| 382 static Counter* store_int_counter = GetCounter("Store Integer"); | 376 static Counter* store_int_counter = GetCounter("Store Integer"); |
| (...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 586 | 580 |
| 587 void Instrument::VisitUnimplemented(Instruction* instr) { | 581 void Instrument::VisitUnimplemented(Instruction* instr) { |
| 588 Update(); | 582 Update(); |
| 589 static Counter* counter = GetCounter("Other"); | 583 static Counter* counter = GetCounter("Other"); |
| 590 counter->Increment(); | 584 counter->Increment(); |
| 591 } | 585 } |
| 592 | 586 |
| 593 | 587 |
| 594 } // namespace internal | 588 } // namespace internal |
| 595 } // namespace v8 | 589 } // namespace v8 |
| OLD | NEW |