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 #include "src/compiler.h" |
5 #include "src/frames-inl.h" | 6 #include "src/frames-inl.h" |
6 #include "test/cctest/compiler/function-tester.h" | 7 #include "test/cctest/compiler/function-tester.h" |
7 | 8 |
8 namespace v8 { | 9 namespace v8 { |
9 namespace internal { | 10 namespace internal { |
10 namespace compiler { | 11 namespace compiler { |
11 | 12 |
12 namespace { | 13 namespace { |
13 | 14 |
14 // Helper to determine inline count via JavaScriptFrame::GetFunctions. | 15 // Helper to determine inline count via JavaScriptFrame::GetFunctions. |
(...skipping 448 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
463 "foo;", | 464 "foo;", |
464 kInlineFlags); | 465 kInlineFlags); |
465 | 466 |
466 InstallAssertInlineCountHelper(CcTest::isolate()); | 467 InstallAssertInlineCountHelper(CcTest::isolate()); |
467 T.CheckCall(T.Val(42), T.Val(1)); | 468 T.CheckCall(T.Val(42), T.Val(1)); |
468 } | 469 } |
469 | 470 |
470 } // namespace compiler | 471 } // namespace compiler |
471 } // namespace internal | 472 } // namespace internal |
472 } // namespace v8 | 473 } // namespace v8 |
OLD | NEW |