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

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

Issue 1512553002: [cctest] Move most heap related tests to test/cctest/heap and clean wrt IWYU (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fixed compile time error due to missing header file Created 5 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
« no previous file with comments | « test/cctest/test-mark-compact.cc ('k') | test/cctest/test-slots-buffer.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 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 28 matching lines...) Expand all
39 #include "src/compilation-cache.h" 39 #include "src/compilation-cache.h"
40 #include "src/debug/debug.h" 40 #include "src/debug/debug.h"
41 #include "src/heap/spaces.h" 41 #include "src/heap/spaces.h"
42 #include "src/objects.h" 42 #include "src/objects.h"
43 #include "src/parsing/parser.h" 43 #include "src/parsing/parser.h"
44 #include "src/runtime/runtime.h" 44 #include "src/runtime/runtime.h"
45 #include "src/snapshot/natives.h" 45 #include "src/snapshot/natives.h"
46 #include "src/snapshot/serialize.h" 46 #include "src/snapshot/serialize.h"
47 #include "src/snapshot/snapshot.h" 47 #include "src/snapshot/snapshot.h"
48 #include "test/cctest/cctest.h" 48 #include "test/cctest/cctest.h"
49 #include "test/cctest/heap/utils-inl.h"
49 50
50 using namespace v8::internal; 51 using namespace v8::internal;
51 52
52 53
53 bool DefaultSnapshotAvailable() { 54 bool DefaultSnapshotAvailable() {
54 return i::Snapshot::DefaultSnapshotBlob() != NULL; 55 return i::Snapshot::DefaultSnapshotBlob() != NULL;
55 } 56 }
56 57
57 58
58 void DisableTurbofan() { 59 void DisableTurbofan() {
(...skipping 1707 matching lines...) Expand 10 before | Expand all | Expand 10 after
1766 delete script_data; 1767 delete script_data;
1767 } 1768 }
1768 1769
1769 1770
1770 TEST(SerializationMemoryStats) { 1771 TEST(SerializationMemoryStats) {
1771 FLAG_profile_deserialization = true; 1772 FLAG_profile_deserialization = true;
1772 FLAG_always_opt = false; 1773 FLAG_always_opt = false;
1773 v8::StartupData blob = v8::V8::CreateSnapshotDataBlob(); 1774 v8::StartupData blob = v8::V8::CreateSnapshotDataBlob();
1774 delete[] blob.data; 1775 delete[] blob.data;
1775 } 1776 }
OLDNEW
« no previous file with comments | « test/cctest/test-mark-compact.cc ('k') | test/cctest/test-slots-buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698