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 18 matching lines...) Expand all Loading... |
29 // SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 29 // SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
30 | 30 |
31 // The original source code covered by the above license above has been | 31 // The original source code covered by the above license above has been |
32 // modified significantly by Google Inc. | 32 // modified significantly by Google Inc. |
33 // Copyright 2012 the V8 project authors. All rights reserved. | 33 // Copyright 2012 the V8 project authors. All rights reserved. |
34 | 34 |
35 #include "src/assembler.h" | 35 #include "src/assembler.h" |
36 | 36 |
37 #include <cmath> | 37 #include <cmath> |
38 #include "src/api.h" | 38 #include "src/api.h" |
| 39 #include "src/base/lazy-instance.h" |
39 #include "src/builtins.h" | 40 #include "src/builtins.h" |
40 #include "src/counters.h" | 41 #include "src/counters.h" |
41 #include "src/cpu.h" | 42 #include "src/cpu.h" |
42 #include "src/cpu-profiler.h" | 43 #include "src/cpu-profiler.h" |
43 #include "src/debug.h" | 44 #include "src/debug.h" |
44 #include "src/deoptimizer.h" | 45 #include "src/deoptimizer.h" |
45 #include "src/execution.h" | 46 #include "src/execution.h" |
46 #include "src/ic.h" | 47 #include "src/ic.h" |
47 #include "src/isolate-inl.h" | 48 #include "src/isolate-inl.h" |
48 #include "src/jsregexp.h" | 49 #include "src/jsregexp.h" |
49 #include "src/lazy-instance.h" | |
50 #include "src/platform.h" | 50 #include "src/platform.h" |
51 #include "src/regexp-macro-assembler.h" | 51 #include "src/regexp-macro-assembler.h" |
52 #include "src/regexp-stack.h" | 52 #include "src/regexp-stack.h" |
53 #include "src/runtime.h" | 53 #include "src/runtime.h" |
54 #include "src/serialize.h" | 54 #include "src/serialize.h" |
55 #include "src/store-buffer-inl.h" | 55 #include "src/store-buffer-inl.h" |
56 #include "src/stub-cache.h" | 56 #include "src/stub-cache.h" |
57 #include "src/token.h" | 57 #include "src/token.h" |
58 | 58 |
59 #if V8_TARGET_ARCH_IA32 | 59 #if V8_TARGET_ARCH_IA32 |
(...skipping 1586 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1646 r2 = r2 - ad; | 1646 r2 = r2 - ad; |
1647 } | 1647 } |
1648 delta = ad - r2; | 1648 delta = ad - r2; |
1649 } while (q1 < delta || (q1 == delta && r1 == 0)); | 1649 } while (q1 < delta || (q1 == delta && r1 == 0)); |
1650 int32_t mul = static_cast<int32_t>(q2 + 1); | 1650 int32_t mul = static_cast<int32_t>(q2 + 1); |
1651 multiplier_ = (d < 0) ? -mul : mul; | 1651 multiplier_ = (d < 0) ? -mul : mul; |
1652 shift_ = p - 32; | 1652 shift_ = p - 32; |
1653 } | 1653 } |
1654 | 1654 |
1655 } } // namespace v8::internal | 1655 } } // namespace v8::internal |
OLD | NEW |