OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved.7 | 1 // Copyright 2012 the V8 project authors. All rights reserved.7 |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 10 matching lines...) Expand all Loading... |
21 // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | 21 // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
22 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | 22 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
23 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 23 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
24 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 24 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
25 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 25 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | 27 |
28 #include "src/base/bits.h" | 28 #include "src/base/bits.h" |
29 #include "src/code-factory.h" | 29 #include "src/code-factory.h" |
30 #include "src/code-stubs.h" | 30 #include "src/code-stubs.h" |
31 #include "src/cpu-profiler.h" | |
32 #include "src/hydrogen-osr.h" | 31 #include "src/hydrogen-osr.h" |
33 #include "src/ic/ic.h" | 32 #include "src/ic/ic.h" |
34 #include "src/ic/stub-cache.h" | 33 #include "src/ic/stub-cache.h" |
35 #include "src/mips/lithium-codegen-mips.h" | 34 #include "src/mips/lithium-codegen-mips.h" |
36 #include "src/mips/lithium-gap-resolver-mips.h" | 35 #include "src/mips/lithium-gap-resolver-mips.h" |
| 36 #include "src/profiler/cpu-profiler.h" |
37 | 37 |
38 | 38 |
39 namespace v8 { | 39 namespace v8 { |
40 namespace internal { | 40 namespace internal { |
41 | 41 |
42 | 42 |
43 class SafepointGenerator final : public CallWrapper { | 43 class SafepointGenerator final : public CallWrapper { |
44 public: | 44 public: |
45 SafepointGenerator(LCodeGen* codegen, | 45 SafepointGenerator(LCodeGen* codegen, |
46 LPointerMap* pointers, | 46 LPointerMap* pointers, |
(...skipping 5853 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5900 __ Push(at, ToRegister(instr->function())); | 5900 __ Push(at, ToRegister(instr->function())); |
5901 CallRuntime(Runtime::kPushBlockContext, 2, instr); | 5901 CallRuntime(Runtime::kPushBlockContext, 2, instr); |
5902 RecordSafepoint(Safepoint::kNoLazyDeopt); | 5902 RecordSafepoint(Safepoint::kNoLazyDeopt); |
5903 } | 5903 } |
5904 | 5904 |
5905 | 5905 |
5906 #undef __ | 5906 #undef __ |
5907 | 5907 |
5908 } // namespace internal | 5908 } // namespace internal |
5909 } // namespace v8 | 5909 } // namespace v8 |
OLD | NEW |