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

Side by Side Diff: src/mksnapshot.cc

Issue 333013002: Check alpha-sorting of includes during presubmit. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 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/mips/stub-cache-mips.cc ('k') | src/objects.h » ('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 // 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 #include <errno.h> 5 #include <errno.h>
6 #include <stdio.h> 6 #include <stdio.h>
7 #ifdef COMPRESS_STARTUP_DATA_BZ2 7 #ifdef COMPRESS_STARTUP_DATA_BZ2
8 #include <bzlib.h> 8 #include <bzlib.h>
9 #endif 9 #endif
10 #include <signal.h> 10 #include <signal.h>
11 11
12 #include "src/v8.h" 12 #include "src/v8.h"
13 13
14 #include "src/assembler.h" 14 #include "src/assembler.h"
15 #include "src/bootstrapper.h" 15 #include "src/bootstrapper.h"
16 #include "src/flags.h" 16 #include "src/flags.h"
17 #include "src/list.h"
17 #include "src/natives.h" 18 #include "src/natives.h"
18 #include "src/platform.h" 19 #include "src/platform.h"
19 #include "src/serialize.h" 20 #include "src/serialize.h"
20 #include "src/list.h"
21 21
22 22
23 using namespace v8; 23 using namespace v8;
24 24
25 25
26 class Compressor { 26 class Compressor {
27 public: 27 public:
28 virtual ~Compressor() {} 28 virtual ~Compressor() {}
29 virtual bool Compress(i::Vector<char> input) = 0; 29 virtual bool Compress(i::Vector<char> input) = 0;
30 virtual i::Vector<char>* output() = 0; 30 virtual i::Vector<char>* output() = 0;
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 writer.SetCompressor(&bzip2); 389 writer.SetCompressor(&bzip2);
390 #endif 390 #endif
391 writer.WriteSnapshot(snapshot_data, ser, context_data, context_ser); 391 writer.WriteSnapshot(snapshot_data, ser, context_data, context_ser);
392 } 392 }
393 } 393 }
394 394
395 isolate->Dispose(); 395 isolate->Dispose();
396 V8::Dispose(); 396 V8::Dispose();
397 return 0; 397 return 0;
398 } 398 }
OLDNEW
« no previous file with comments | « src/mips/stub-cache-mips.cc ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698