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 18 matching lines...) Expand all Loading... |
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 | 38 |
39 // TODO(dcarney): remove | |
40 #define V8_ALLOW_ACCESS_TO_PERSISTENT_ARROW | |
41 #define V8_ALLOW_ACCESS_TO_PERSISTENT_IMPLICIT | |
42 | |
43 #include "v8.h" | 39 #include "v8.h" |
44 | 40 |
45 #include "global-handles.h" | 41 #include "global-handles.h" |
46 #include "snapshot.h" | 42 #include "snapshot.h" |
47 #include "cctest.h" | 43 #include "cctest.h" |
48 | 44 |
49 using namespace v8::internal; | 45 using namespace v8::internal; |
50 | 46 |
51 | 47 |
52 TEST(MarkingDeque) { | 48 TEST(MarkingDeque) { |
(...skipping 517 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
570 if (v8::internal::Snapshot::IsEnabled()) { | 566 if (v8::internal::Snapshot::IsEnabled()) { |
571 CHECK_LE(delta, 2900 * 1024); | 567 CHECK_LE(delta, 2900 * 1024); |
572 } else { | 568 } else { |
573 CHECK_LE(delta, 3400 * 1024); | 569 CHECK_LE(delta, 3400 * 1024); |
574 } | 570 } |
575 } | 571 } |
576 } | 572 } |
577 } | 573 } |
578 | 574 |
579 #endif // __linux__ and !USE_SIMULATOR | 575 #endif // __linux__ and !USE_SIMULATOR |
OLD | NEW |