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

Side by Side Diff: test/cctest/test-serialize.cc

Issue 2268303002: Include only stuff you need, part 4: ast, scopes + fallout. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 4 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
OLDNEW
1 // Copyright 2007-2010 the V8 project authors. All rights reserved. 1 // Copyright 2007-2010 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 15 matching lines...) Expand all
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 <signal.h> 28 #include <signal.h>
29 29
30 #include <sys/stat.h> 30 #include <sys/stat.h>
31 31
32 #include "src/v8.h" 32 #include "src/v8.h"
33 33
34 #include "src/bootstrapper.h" 34 #include "src/bootstrapper.h"
35 #include "src/compilation-cache.h" 35 #include "src/compilation-cache.h"
36 #include "src/compiler.h"
36 #include "src/debug/debug.h" 37 #include "src/debug/debug.h"
37 #include "src/heap/spaces.h" 38 #include "src/heap/spaces.h"
38 #include "src/macro-assembler.h" 39 #include "src/macro-assembler.h"
39 #include "src/objects.h" 40 #include "src/objects.h"
40 #include "src/parsing/parser.h" 41 #include "src/parsing/parser.h"
41 #include "src/runtime/runtime.h" 42 #include "src/runtime/runtime.h"
42 #include "src/snapshot/code-serializer.h" 43 #include "src/snapshot/code-serializer.h"
43 #include "src/snapshot/deserializer.h" 44 #include "src/snapshot/deserializer.h"
44 #include "src/snapshot/natives.h" 45 #include "src/snapshot/natives.h"
45 #include "src/snapshot/partial-serializer.h" 46 #include "src/snapshot/partial-serializer.h"
(...skipping 2128 matching lines...) Expand 10 before | Expand all | Expand 10 after
2174 } 2175 }
2175 delete[] blob.data; 2176 delete[] blob.data;
2176 } 2177 }
2177 2178
2178 TEST(SerializationMemoryStats) { 2179 TEST(SerializationMemoryStats) {
2179 FLAG_profile_deserialization = true; 2180 FLAG_profile_deserialization = true;
2180 FLAG_always_opt = false; 2181 FLAG_always_opt = false;
2181 v8::StartupData blob = v8::V8::CreateSnapshotDataBlob(); 2182 v8::StartupData blob = v8::V8::CreateSnapshotDataBlob();
2182 delete[] blob.data; 2183 delete[] blob.data;
2183 } 2184 }
OLDNEW
« no previous file with comments | « test/cctest/test-field-type-tracking.cc ('k') | test/unittests/compiler/js-create-lowering-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698