OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 17 matching lines...) Expand all Loading... |
28 #include <stdlib.h> | 28 #include <stdlib.h> |
29 | 29 |
30 #ifdef __linux__ | 30 #ifdef __linux__ |
31 #include <sys/types.h> | 31 #include <sys/types.h> |
32 #include <sys/stat.h> | 32 #include <sys/stat.h> |
33 #include <fcntl.h> | 33 #include <fcntl.h> |
34 #include <unistd.h> | 34 #include <unistd.h> |
35 #include <errno.h> | 35 #include <errno.h> |
36 #endif | 36 #endif |
37 | 37 |
| 38 |
| 39 // TODO(dcarney): remove |
| 40 #define V8_ALLOW_ACCESS_TO_PERSISTENT_ARROW |
| 41 #define V8_ALLOW_ACCESS_TO_PERSISTENT_IMPLICIT |
| 42 |
38 #include "v8.h" | 43 #include "v8.h" |
39 | 44 |
40 #include "global-handles.h" | 45 #include "global-handles.h" |
41 #include "snapshot.h" | 46 #include "snapshot.h" |
42 #include "cctest.h" | 47 #include "cctest.h" |
43 | 48 |
44 using namespace v8::internal; | 49 using namespace v8::internal; |
45 | 50 |
46 | 51 |
47 TEST(MarkingDeque) { | 52 TEST(MarkingDeque) { |
(...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
558 if (v8::internal::Snapshot::IsEnabled()) { | 563 if (v8::internal::Snapshot::IsEnabled()) { |
559 CHECK_LE(delta, 2900 * 1024); | 564 CHECK_LE(delta, 2900 * 1024); |
560 } else { | 565 } else { |
561 CHECK_LE(delta, 3400 * 1024); | 566 CHECK_LE(delta, 3400 * 1024); |
562 } | 567 } |
563 } | 568 } |
564 } | 569 } |
565 } | 570 } |
566 | 571 |
567 #endif // __linux__ and !USE_SIMULATOR | 572 #endif // __linux__ and !USE_SIMULATOR |
OLD | NEW |