OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 the V8 project authors. All rights reserved. |
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 13 matching lines...) Expand all Loading... |
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 <stdio.h> | 28 #include <stdio.h> |
29 #include <stdlib.h> | 29 #include <stdlib.h> |
30 #include <string.h> | 30 #include <string.h> |
31 #include <cmath> | 31 #include <cmath> |
32 #include <limits> | 32 #include <limits> |
33 | 33 |
34 #include "v8.h" | 34 #include "src/v8.h" |
35 | 35 |
36 #include "macro-assembler.h" | 36 #include "src/macro-assembler.h" |
37 #include "arm64/simulator-arm64.h" | 37 #include "src/arm64/simulator-arm64.h" |
38 #include "arm64/decoder-arm64-inl.h" | 38 #include "src/arm64/decoder-arm64-inl.h" |
39 #include "arm64/disasm-arm64.h" | 39 #include "src/arm64/disasm-arm64.h" |
40 #include "arm64/utils-arm64.h" | 40 #include "src/arm64/utils-arm64.h" |
41 #include "cctest.h" | 41 #include "test/cctest/cctest.h" |
42 #include "test-utils-arm64.h" | 42 #include "test/cctest/test-utils-arm64.h" |
43 | 43 |
44 using namespace v8::internal; | 44 using namespace v8::internal; |
45 | 45 |
46 // Test infrastructure. | 46 // Test infrastructure. |
47 // | 47 // |
48 // Tests are functions which accept no parameters and have no return values. | 48 // Tests are functions which accept no parameters and have no return values. |
49 // The testing code should not perform an explicit return once completed. For | 49 // The testing code should not perform an explicit return once completed. For |
50 // example to test the mov immediate instruction a very simple test would be: | 50 // example to test the mov immediate instruction a very simple test would be: |
51 // | 51 // |
52 // TEST(mov_x0_one) { | 52 // TEST(mov_x0_one) { |
(...skipping 10927 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10980 if (RelocInfo::IsVeneerPool(info->rmode())) { | 10980 if (RelocInfo::IsVeneerPool(info->rmode())) { |
10981 ASSERT(info->data() == veneer_pool_size); | 10981 ASSERT(info->data() == veneer_pool_size); |
10982 ++pool_count; | 10982 ++pool_count; |
10983 } | 10983 } |
10984 } | 10984 } |
10985 | 10985 |
10986 ASSERT(pool_count == 2); | 10986 ASSERT(pool_count == 2); |
10987 | 10987 |
10988 TEARDOWN(); | 10988 TEARDOWN(); |
10989 } | 10989 } |
OLD | NEW |