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 22 matching lines...) Expand all Loading... |
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/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/builtins.h" | 44 #include "src/builtins.h" |
44 #include "src/codegen.h" | 45 #include "src/codegen.h" |
45 #include "src/counters.h" | 46 #include "src/counters.h" |
46 #include "src/cpu-profiler.h" | 47 #include "src/cpu-profiler.h" |
47 #include "src/debug.h" | 48 #include "src/debug.h" |
48 #include "src/deoptimizer.h" | 49 #include "src/deoptimizer.h" |
49 #include "src/execution.h" | 50 #include "src/execution.h" |
50 #include "src/ic/ic.h" | 51 #include "src/ic/ic.h" |
51 #include "src/ic/stub-cache.h" | 52 #include "src/ic/stub-cache.h" |
52 #include "src/isolate-inl.h" | |
53 #include "src/jsregexp.h" | 53 #include "src/jsregexp.h" |
54 #include "src/regexp-macro-assembler.h" | 54 #include "src/regexp-macro-assembler.h" |
55 #include "src/regexp-stack.h" | 55 #include "src/regexp-stack.h" |
56 #include "src/runtime/runtime.h" | 56 #include "src/runtime/runtime.h" |
57 #include "src/snapshot/serialize.h" | 57 #include "src/snapshot/serialize.h" |
58 #include "src/token.h" | 58 #include "src/token.h" |
59 | 59 |
60 #if V8_TARGET_ARCH_IA32 | 60 #if V8_TARGET_ARCH_IA32 |
61 #include "src/ia32/assembler-ia32-inl.h" // NOLINT | 61 #include "src/ia32/assembler-ia32-inl.h" // NOLINT |
62 #elif V8_TARGET_ARCH_X64 | 62 #elif V8_TARGET_ARCH_X64 |
(...skipping 1600 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1663 RecordRelocInfo(RelocInfo::JS_RETURN); | 1663 RecordRelocInfo(RelocInfo::JS_RETURN); |
1664 } | 1664 } |
1665 | 1665 |
1666 | 1666 |
1667 void Assembler::RecordDebugBreakSlot() { | 1667 void Assembler::RecordDebugBreakSlot() { |
1668 positions_recorder()->WriteRecordedPositions(); | 1668 positions_recorder()->WriteRecordedPositions(); |
1669 EnsureSpace ensure_space(this); | 1669 EnsureSpace ensure_space(this); |
1670 RecordRelocInfo(RelocInfo::DEBUG_BREAK_SLOT); | 1670 RecordRelocInfo(RelocInfo::DEBUG_BREAK_SLOT); |
1671 } | 1671 } |
1672 } } // namespace v8::internal | 1672 } } // namespace v8::internal |
OLD | NEW |