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

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

Issue 2622503002: include fixing: api.h shouldn't include objects-inl.h (Closed)
Patch Set: static type check Created 3 years, 11 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
« no previous file with comments | « test/cctest/test-lockers.cc ('k') | test/cctest/test-object.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-2009 the V8 project authors. All rights reserved. 1 // Copyright 2006-2009 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 19 matching lines...) Expand all
30 #ifdef __linux__ 30 #ifdef __linux__
31 #include <pthread.h> 31 #include <pthread.h>
32 #include <signal.h> 32 #include <signal.h>
33 #include <unistd.h> 33 #include <unistd.h>
34 #include <cmath> 34 #include <cmath>
35 #endif // __linux__ 35 #endif // __linux__
36 36
37 #include "src/api.h" 37 #include "src/api.h"
38 #include "src/log-utils.h" 38 #include "src/log-utils.h"
39 #include "src/log.h" 39 #include "src/log.h"
40 #include "src/objects-inl.h"
40 #include "src/profiler/cpu-profiler.h" 41 #include "src/profiler/cpu-profiler.h"
41 #include "src/snapshot/natives.h" 42 #include "src/snapshot/natives.h"
42 #include "src/utils.h" 43 #include "src/utils.h"
43 #include "src/v8.h" 44 #include "src/v8.h"
44 #include "src/v8threads.h" 45 #include "src/v8threads.h"
45 #include "src/version.h" 46 #include "src/version.h"
46 #include "src/vm-state-inl.h" 47 #include "src/vm-state-inl.h"
47 #include "test/cctest/cctest.h" 48 #include "test/cctest/cctest.h"
48 49
49 using v8::internal::Address; 50 using v8::internal::Address;
(...skipping 558 matching lines...) Expand 10 before | Expand all | Expand 10 after
608 "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaac" 609 "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaac"
609 "(){})();"; 610 "(){})();";
610 611
611 CompileRun(source_text); 612 CompileRun(source_text);
612 613
613 // Must not crash. 614 // Must not crash.
614 logger->LogCompiledFunctions(); 615 logger->LogCompiledFunctions();
615 } 616 }
616 isolate->Dispose(); 617 isolate->Dispose();
617 } 618 }
OLDNEW
« no previous file with comments | « test/cctest/test-lockers.cc ('k') | test/cctest/test-object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698