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 25 matching lines...) Expand all Loading... |
36 | 36 |
37 #include <math.h> | 37 #include <math.h> |
38 #include <cmath> | 38 #include <cmath> |
39 #include "src/api.h" | 39 #include "src/api.h" |
40 #include "src/base/cpu.h" | 40 #include "src/base/cpu.h" |
41 #include "src/base/functional.h" | 41 #include "src/base/functional.h" |
42 #include "src/base/ieee754.h" | 42 #include "src/base/ieee754.h" |
43 #include "src/base/lazy-instance.h" | 43 #include "src/base/lazy-instance.h" |
44 #include "src/base/platform/platform.h" | 44 #include "src/base/platform/platform.h" |
45 #include "src/base/utils/random-number-generator.h" | 45 #include "src/base/utils/random-number-generator.h" |
46 #include "src/builtins.h" | |
47 #include "src/codegen.h" | 46 #include "src/codegen.h" |
48 #include "src/counters.h" | 47 #include "src/counters.h" |
49 #include "src/debug/debug.h" | 48 #include "src/debug/debug.h" |
50 #include "src/deoptimizer.h" | 49 #include "src/deoptimizer.h" |
51 #include "src/disassembler.h" | 50 #include "src/disassembler.h" |
52 #include "src/execution.h" | 51 #include "src/execution.h" |
53 #include "src/ic/ic.h" | 52 #include "src/ic/ic.h" |
54 #include "src/ic/stub-cache.h" | 53 #include "src/ic/stub-cache.h" |
55 #include "src/interpreter/interpreter.h" | 54 #include "src/interpreter/interpreter.h" |
56 #include "src/ostreams.h" | 55 #include "src/ostreams.h" |
(...skipping 1838 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1895 | 1894 |
1896 | 1895 |
1897 void Assembler::DataAlign(int m) { | 1896 void Assembler::DataAlign(int m) { |
1898 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); | 1897 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); |
1899 while ((pc_offset() & (m - 1)) != 0) { | 1898 while ((pc_offset() & (m - 1)) != 0) { |
1900 db(0); | 1899 db(0); |
1901 } | 1900 } |
1902 } | 1901 } |
1903 } // namespace internal | 1902 } // namespace internal |
1904 } // namespace v8 | 1903 } // namespace v8 |
OLD | NEW |