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

Side by Side Diff: src/arm64/instrument-arm64.cc

Issue 1276113002: Security: disable nontemporals. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 4 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 unified diff | Download patch
« no previous file with comments | « src/arm64/disasm-arm64.cc ('k') | src/arm64/macro-assembler-arm64-inl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « src/arm64/disasm-arm64.cc ('k') | src/arm64/macro-assembler-arm64-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698