Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(208)

Side by Side Diff: test/cctest/test-incremental-marking.cc

Issue 1505803004: Disable soon to be deprecated APIs per default for v8 (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « test/cctest/test-identity-map.cc ('k') | test/cctest/test-inobject-slack-tracking.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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 // TODO(jochen): Remove this after the setting is turned on globally.
6 #define V8_IMMINENT_DEPRECATION_WARNINGS
7
8 #include <stdlib.h> 5 #include <stdlib.h>
9 6
10 #ifdef __linux__ 7 #ifdef __linux__
11 #include <errno.h> 8 #include <errno.h>
12 #include <fcntl.h> 9 #include <fcntl.h>
13 #include <sys/stat.h> 10 #include <sys/stat.h>
14 #include <sys/types.h> 11 #include <sys/types.h>
15 #include <unistd.h> 12 #include <unistd.h>
16 #endif 13 #endif
17 14
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 while (!marking->IsStopped() && platform.PendingDelayedTask()) { 165 while (!marking->IsStopped() && platform.PendingDelayedTask()) {
169 platform.PerformDelayedTask(); 166 platform.PerformDelayedTask();
170 } 167 }
171 // There could be pending delayed task from memory reducer after GC finishes. 168 // There could be pending delayed task from memory reducer after GC finishes.
172 CHECK(marking->IsStopped()); 169 CHECK(marking->IsStopped());
173 i::V8::SetPlatformForTesting(old_platform); 170 i::V8::SetPlatformForTesting(old_platform);
174 } 171 }
175 172
176 } // namespace internal 173 } // namespace internal
177 } // namespace v8 174 } // namespace v8
OLDNEW
« no previous file with comments | « test/cctest/test-identity-map.cc ('k') | test/cctest/test-inobject-slack-tracking.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698