OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // TODO(jochen): Remove this after the setting is turned on globally. | |
6 #define V8_IMMINENT_DEPRECATION_WARNINGS | |
7 | |
8 #include "src/frames-inl.h" | 5 #include "src/frames-inl.h" |
9 #include "test/cctest/compiler/function-tester.h" | 6 #include "test/cctest/compiler/function-tester.h" |
10 | 7 |
11 namespace v8 { | 8 namespace v8 { |
12 namespace internal { | 9 namespace internal { |
13 namespace compiler { | 10 namespace compiler { |
14 | 11 |
15 namespace { | 12 namespace { |
16 | 13 |
17 // Helper to determine inline count via JavaScriptFrame::GetFunctions. | 14 // Helper to determine inline count via JavaScriptFrame::GetFunctions. |
(...skipping 583 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
601 "})();", | 598 "})();", |
602 kInlineFlags); | 599 kInlineFlags); |
603 | 600 |
604 InstallAssertInlineCountHelper(CcTest::isolate()); | 601 InstallAssertInlineCountHelper(CcTest::isolate()); |
605 T.CheckCall(T.Val(42), T.Val(1)); | 602 T.CheckCall(T.Val(42), T.Val(1)); |
606 } | 603 } |
607 | 604 |
608 } // namespace compiler | 605 } // namespace compiler |
609 } // namespace internal | 606 } // namespace internal |
610 } // namespace v8 | 607 } // namespace v8 |
OLD | NEW |