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

Side by Side Diff: src/global-handles.cc

Issue 14075006: Fix build failures on Win64 since r14215. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | src/heap-snapshot-generator.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 2009 the V8 project authors. All rights reserved. 1 // Copyright 2009 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 570 matching lines...) Expand 10 before | Expand all | Expand 10 after
581 581
582 // During the iteration, some of the elements of object_groups are 582 // During the iteration, some of the elements of object_groups are
583 // deleted. This is done by moving surviving elements at the front of the list 583 // deleted. This is done by moving surviving elements at the front of the list
584 // and deleting from the end. This index tracks where the next surviving 584 // and deleting from the end. This index tracks where the next surviving
585 // element should be moved. 585 // element should be moved.
586 int surviving_element_index = 0; 586 int surviving_element_index = 0;
587 int info_index = 0; // For iterating retainer_infos_. 587 int info_index = 0; // For iterating retainer_infos_.
588 int surviving_info_index = 0; 588 int surviving_info_index = 0;
589 589
590 UniqueId current_group_id(0); 590 UniqueId current_group_id(0);
591 size_t current_group_start = 0; 591 int current_group_start = 0;
592 bool any_group_was_visited = false; 592 bool any_group_was_visited = false;
593 593
594 for (int i = 0; i <= object_groups_.length(); ++i) { 594 for (int i = 0; i <= object_groups_.length(); ++i) {
595 if (i == 0) 595 if (i == 0)
596 current_group_id = object_groups_[i].id; 596 current_group_id = object_groups_[i].id;
597 if (i == object_groups_.length() || 597 if (i == object_groups_.length() ||
598 current_group_id != object_groups_[i].id) { 598 current_group_id != object_groups_[i].id) {
599 // Group detected: objects in indices [current_group_start, i[. 599 // Group detected: objects in indices [current_group_start, i[.
600 bool group_should_be_visited = false; 600 bool group_should_be_visited = false;
601 for (int j = current_group_start; j < i; ++j) { 601 for (int j = current_group_start; j < i; ++j) {
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
902 implicit_ref_groups_.Clear(); 902 implicit_ref_groups_.Clear();
903 } 903 }
904 904
905 905
906 void GlobalHandles::TearDown() { 906 void GlobalHandles::TearDown() {
907 // TODO(1428): invoke weak callbacks. 907 // TODO(1428): invoke weak callbacks.
908 } 908 }
909 909
910 910
911 } } // namespace v8::internal 911 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | src/heap-snapshot-generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698