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

Side by Side Diff: src/platform-freebsd.cc

Issue 85313002: freebsd: unbreak build after r16646 (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 result = read(fd, buffer + bytes_read, 1); 175 result = read(fd, buffer + bytes_read, 1);
176 if (result < 1) break; 176 if (result < 1) break;
177 } while (buffer[bytes_read] != '\n'); 177 } while (buffer[bytes_read] != '\n');
178 buffer[bytes_read] = 0; 178 buffer[bytes_read] = 0;
179 // Ignore mappings that are not executable. 179 // Ignore mappings that are not executable.
180 if (buffer[3] != 'x') continue; 180 if (buffer[3] != 'x') continue;
181 char* start_of_path = index(buffer, '/'); 181 char* start_of_path = index(buffer, '/');
182 // There may be no filename in this line. Skip to next. 182 // There may be no filename in this line. Skip to next.
183 if (start_of_path == NULL) continue; 183 if (start_of_path == NULL) continue;
184 buffer[bytes_read] = 0; 184 buffer[bytes_read] = 0;
185 LOG(isolate SharedLibraryEvent(start_of_path, start, end)); 185 LOG(isolate, SharedLibraryEvent(start_of_path, start, end));
186 } 186 }
187 close(fd); 187 close(fd);
188 } 188 }
189 189
190 190
191 void OS::SignalCodeMovingGC() { 191 void OS::SignalCodeMovingGC() {
192 } 192 }
193 193
194 194
195 195
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 return munmap(base, size) == 0; 323 return munmap(base, size) == 0;
324 } 324 }
325 325
326 326
327 bool VirtualMemory::HasLazyCommits() { 327 bool VirtualMemory::HasLazyCommits() {
328 // TODO(alph): implement for the platform. 328 // TODO(alph): implement for the platform.
329 return false; 329 return false;
330 } 330 }
331 331
332 } } // namespace v8::internal 332 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698