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

Side by Side Diff: src/x87/cpu-x87.cc

Issue 1163803002: Cosmetic changes to tests to make it easier to concatenate them. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix snapshot-external.cc Created 5 years, 6 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/x87/codegen-x87.cc ('k') | src/x87/debug-x87.cc » ('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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 // CPU specific code for ia32 independent of OS goes here. 5 // CPU specific code for ia32 independent of OS goes here.
6 6
7 #ifdef __GNUC__ 7 #ifdef __GNUC__
8 #include "src/third_party/valgrind/valgrind.h" 8 #include "src/third_party/valgrind/valgrind.h"
9 #endif 9 #endif
10 10
(...skipping 21 matching lines...) Expand all
32 // invalidate already cached translated code. This leads to random 32 // invalidate already cached translated code. This leads to random
33 // instability when code patches or moves are sometimes unnoticed. One 33 // instability when code patches or moves are sometimes unnoticed. One
34 // solution is to run valgrind with --smc-check=all, but this comes at a big 34 // solution is to run valgrind with --smc-check=all, but this comes at a big
35 // performance cost. We can notify valgrind to invalidate its cache. 35 // performance cost. We can notify valgrind to invalidate its cache.
36 #ifdef VALGRIND_DISCARD_TRANSLATIONS 36 #ifdef VALGRIND_DISCARD_TRANSLATIONS
37 unsigned res = VALGRIND_DISCARD_TRANSLATIONS(start, size); 37 unsigned res = VALGRIND_DISCARD_TRANSLATIONS(start, size);
38 USE(res); 38 USE(res);
39 #endif 39 #endif
40 } 40 }
41 41
42 } } // namespace v8::internal 42 } // namespace internal
43 } // namespace v8
43 44
44 #endif // V8_TARGET_ARCH_X87 45 #endif // V8_TARGET_ARCH_X87
OLDNEW
« no previous file with comments | « src/x87/codegen-x87.cc ('k') | src/x87/debug-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698