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

Side by Side Diff: test/cctest/test-slots-buffer.cc

Issue 1371363006: Continuing removing deprecated function from cctest (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fixed a bug in test-serialize.cc. Created 5 years, 2 months 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-simd.cc ('k') | test/cctest/test-spaces.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(mythria): Remove this define after this flag is turned on globally
6 #define V8_IMMINENT_DEPRECATION_WARNINGS
7
5 #include "src/heap/slots-buffer.h" 8 #include "src/heap/slots-buffer.h"
6 #include "test/cctest/cctest.h" 9 #include "test/cctest/cctest.h"
7 10
8 namespace v8 { 11 namespace v8 {
9 namespace internal { 12 namespace internal {
10 13
11 TEST(SlotsBufferObjectSlotsRemoval) { 14 TEST(SlotsBufferObjectSlotsRemoval) {
12 CcTest::InitializeVM(); 15 CcTest::InitializeVM();
13 v8::HandleScope scope(CcTest::isolate()); 16 v8::HandleScope scope(CcTest::isolate());
14 Isolate* isolate = CcTest::i_isolate(); 17 Isolate* isolate = CcTest::i_isolate();
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 mark_bit = Marking::MarkBitFrom(*new_space_object); 126 mark_bit = Marking::MarkBitFrom(*new_space_object);
124 Marking::MarkWhite(mark_bit); 127 Marking::MarkWhite(mark_bit);
125 mark_bit = Marking::MarkBitFrom(*old_space_object_non_evacuation); 128 mark_bit = Marking::MarkBitFrom(*old_space_object_non_evacuation);
126 Marking::MarkWhite(mark_bit); 129 Marking::MarkWhite(mark_bit);
127 130
128 delete buffer; 131 delete buffer;
129 } 132 }
130 133
131 } // namespace internal 134 } // namespace internal
132 } // namespace v8 135 } // namespace v8
OLDNEW
« no previous file with comments | « test/cctest/test-simd.cc ('k') | test/cctest/test-spaces.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698