OLD | NEW |
1 // Copyright (c) 1994-2006 Sun Microsystems Inc. | 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. |
2 // All Rights Reserved. | 2 // All Rights Reserved. |
3 // | 3 // |
4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without |
5 // modification, are permitted provided that the following conditions are | 5 // modification, are permitted provided that the following conditions are |
6 // met: | 6 // met: |
7 // | 7 // |
8 // - Redistributions of source code must retain the above copyright notice, | 8 // - Redistributions of source code must retain the above copyright notice, |
9 // this list of conditions and the following disclaimer. | 9 // this list of conditions and the following disclaimer. |
10 // | 10 // |
(...skipping 26 matching lines...) Expand all Loading... |
37 #include <cmath> | 37 #include <cmath> |
38 #include "src/api.h" | 38 #include "src/api.h" |
39 #include "src/base/cpu.h" | 39 #include "src/base/cpu.h" |
40 #include "src/base/functional.h" | 40 #include "src/base/functional.h" |
41 #include "src/base/lazy-instance.h" | 41 #include "src/base/lazy-instance.h" |
42 #include "src/base/platform/platform.h" | 42 #include "src/base/platform/platform.h" |
43 #include "src/base/utils/random-number-generator.h" | 43 #include "src/base/utils/random-number-generator.h" |
44 #include "src/builtins.h" | 44 #include "src/builtins.h" |
45 #include "src/codegen.h" | 45 #include "src/codegen.h" |
46 #include "src/counters.h" | 46 #include "src/counters.h" |
47 #include "src/cpu-profiler.h" | |
48 #include "src/debug/debug.h" | 47 #include "src/debug/debug.h" |
49 #include "src/deoptimizer.h" | 48 #include "src/deoptimizer.h" |
50 #include "src/execution.h" | 49 #include "src/execution.h" |
51 #include "src/ic/ic.h" | 50 #include "src/ic/ic.h" |
52 #include "src/ic/stub-cache.h" | 51 #include "src/ic/stub-cache.h" |
| 52 #include "src/profiler/cpu-profiler.h" |
53 #include "src/regexp/jsregexp.h" | 53 #include "src/regexp/jsregexp.h" |
54 #include "src/regexp/regexp-macro-assembler.h" | 54 #include "src/regexp/regexp-macro-assembler.h" |
55 #include "src/regexp/regexp-stack.h" | 55 #include "src/regexp/regexp-stack.h" |
56 #include "src/runtime/runtime.h" | 56 #include "src/runtime/runtime.h" |
57 #include "src/simulator.h" // For flushing instruction cache. | 57 #include "src/simulator.h" // For flushing instruction cache. |
58 #include "src/snapshot/serialize.h" | 58 #include "src/snapshot/serialize.h" |
59 #include "src/token.h" | 59 #include "src/token.h" |
60 | 60 |
61 #if V8_TARGET_ARCH_IA32 | 61 #if V8_TARGET_ARCH_IA32 |
62 #include "src/ia32/assembler-ia32-inl.h" // NOLINT | 62 #include "src/ia32/assembler-ia32-inl.h" // NOLINT |
(...skipping 1783 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1846 | 1846 |
1847 | 1847 |
1848 void Assembler::DataAlign(int m) { | 1848 void Assembler::DataAlign(int m) { |
1849 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); | 1849 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); |
1850 while ((pc_offset() & (m - 1)) != 0) { | 1850 while ((pc_offset() & (m - 1)) != 0) { |
1851 db(0); | 1851 db(0); |
1852 } | 1852 } |
1853 } | 1853 } |
1854 } // namespace internal | 1854 } // namespace internal |
1855 } // namespace v8 | 1855 } // namespace v8 |
OLD | NEW |