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/compilation-info.h" |
6 #include "src/frames-inl.h" | 6 #include "src/frames-inl.h" |
7 #include "test/cctest/compiler/function-tester.h" | 7 #include "test/cctest/compiler/function-tester.h" |
8 | 8 |
9 namespace v8 { | 9 namespace v8 { |
10 namespace internal { | 10 namespace internal { |
11 namespace compiler { | 11 namespace compiler { |
12 | 12 |
13 namespace { | 13 namespace { |
14 | 14 |
15 // 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... |
464 "foo;", | 464 "foo;", |
465 kInlineFlags); | 465 kInlineFlags); |
466 | 466 |
467 InstallAssertInlineCountHelper(CcTest::isolate()); | 467 InstallAssertInlineCountHelper(CcTest::isolate()); |
468 T.CheckCall(T.Val(42), T.Val(1)); | 468 T.CheckCall(T.Val(42), T.Val(1)); |
469 } | 469 } |
470 | 470 |
471 } // namespace compiler | 471 } // namespace compiler |
472 } // namespace internal | 472 } // namespace internal |
473 } // namespace v8 | 473 } // namespace v8 |
OLD | NEW |