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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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/debug/debug.h" | 47 #include "src/debug/debug.h" |
48 #include "src/deoptimizer.h" | 48 #include "src/deoptimizer.h" |
49 #include "src/disassembler.h" | 49 #include "src/disassembler.h" |
50 #include "src/execution.h" | 50 #include "src/execution.h" |
51 #include "src/ic/ic.h" | 51 #include "src/ic/ic.h" |
52 #include "src/ic/stub-cache.h" | 52 #include "src/ic/stub-cache.h" |
53 #include "src/ostreams.h" | 53 #include "src/ostreams.h" |
| 54 #include "src/parsing/token.h" |
54 #include "src/profiler/cpu-profiler.h" | 55 #include "src/profiler/cpu-profiler.h" |
55 #include "src/regexp/jsregexp.h" | 56 #include "src/regexp/jsregexp.h" |
56 #include "src/regexp/regexp-macro-assembler.h" | 57 #include "src/regexp/regexp-macro-assembler.h" |
57 #include "src/regexp/regexp-stack.h" | 58 #include "src/regexp/regexp-stack.h" |
58 #include "src/register-configuration.h" | 59 #include "src/register-configuration.h" |
59 #include "src/runtime/runtime.h" | 60 #include "src/runtime/runtime.h" |
60 #include "src/simulator.h" // For flushing instruction cache. | 61 #include "src/simulator.h" // For flushing instruction cache. |
61 #include "src/snapshot/serialize.h" | 62 #include "src/snapshot/serialize.h" |
62 #include "src/token.h" | |
63 | 63 |
64 #if V8_TARGET_ARCH_IA32 | 64 #if V8_TARGET_ARCH_IA32 |
65 #include "src/ia32/assembler-ia32-inl.h" // NOLINT | 65 #include "src/ia32/assembler-ia32-inl.h" // NOLINT |
66 #elif V8_TARGET_ARCH_X64 | 66 #elif V8_TARGET_ARCH_X64 |
67 #include "src/x64/assembler-x64-inl.h" // NOLINT | 67 #include "src/x64/assembler-x64-inl.h" // NOLINT |
68 #elif V8_TARGET_ARCH_ARM64 | 68 #elif V8_TARGET_ARCH_ARM64 |
69 #include "src/arm64/assembler-arm64-inl.h" // NOLINT | 69 #include "src/arm64/assembler-arm64-inl.h" // NOLINT |
70 #elif V8_TARGET_ARCH_ARM | 70 #elif V8_TARGET_ARCH_ARM |
71 #include "src/arm/assembler-arm-inl.h" // NOLINT | 71 #include "src/arm/assembler-arm-inl.h" // NOLINT |
72 #elif V8_TARGET_ARCH_PPC | 72 #elif V8_TARGET_ARCH_PPC |
(...skipping 1832 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1905 | 1905 |
1906 | 1906 |
1907 void Assembler::DataAlign(int m) { | 1907 void Assembler::DataAlign(int m) { |
1908 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); | 1908 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); |
1909 while ((pc_offset() & (m - 1)) != 0) { | 1909 while ((pc_offset() & (m - 1)) != 0) { |
1910 db(0); | 1910 db(0); |
1911 } | 1911 } |
1912 } | 1912 } |
1913 } // namespace internal | 1913 } // namespace internal |
1914 } // namespace v8 | 1914 } // namespace v8 |
OLD | NEW |