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

Side by Side Diff: src/mksnapshot.cc

Issue 12729023: first step to remove unsafe handles (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: issue with debug build Created 7 years, 7 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 | « src/global-handles.cc ('k') | src/runtime.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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 14 matching lines...) Expand all
25 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 25 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 27
28 #include <errno.h> 28 #include <errno.h>
29 #include <stdio.h> 29 #include <stdio.h>
30 #ifdef COMPRESS_STARTUP_DATA_BZ2 30 #ifdef COMPRESS_STARTUP_DATA_BZ2
31 #include <bzlib.h> 31 #include <bzlib.h>
32 #endif 32 #endif
33 #include <signal.h> 33 #include <signal.h>
34 34
35 // TODO(dcarney): remove
36 #define V8_ALLOW_ACCESS_TO_PERSISTENT_ARROW
37 #define V8_ALLOW_ACCESS_TO_PERSISTENT_IMPLICIT
38
35 #include "v8.h" 39 #include "v8.h"
36 40
37 #include "bootstrapper.h" 41 #include "bootstrapper.h"
38 #include "flags.h" 42 #include "flags.h"
39 #include "natives.h" 43 #include "natives.h"
40 #include "platform.h" 44 #include "platform.h"
41 #include "serialize.h" 45 #include "serialize.h"
42 #include "list.h" 46 #include "list.h"
43 47
44 using namespace v8; 48 using namespace v8;
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after
417 sink.WriteSpaceUsed( 421 sink.WriteSpaceUsed(
418 "", 422 "",
419 ser.CurrentAllocationAddress(i::NEW_SPACE), 423 ser.CurrentAllocationAddress(i::NEW_SPACE),
420 ser.CurrentAllocationAddress(i::OLD_POINTER_SPACE), 424 ser.CurrentAllocationAddress(i::OLD_POINTER_SPACE),
421 ser.CurrentAllocationAddress(i::OLD_DATA_SPACE), 425 ser.CurrentAllocationAddress(i::OLD_DATA_SPACE),
422 ser.CurrentAllocationAddress(i::CODE_SPACE), 426 ser.CurrentAllocationAddress(i::CODE_SPACE),
423 ser.CurrentAllocationAddress(i::MAP_SPACE), 427 ser.CurrentAllocationAddress(i::MAP_SPACE),
424 ser.CurrentAllocationAddress(i::CELL_SPACE)); 428 ser.CurrentAllocationAddress(i::CELL_SPACE));
425 return 0; 429 return 0;
426 } 430 }
OLDNEW
« no previous file with comments | « src/global-handles.cc ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698