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

Side by Side Diff: test/cctest/cctest.h

Issue 2344143003: Moved zones and zone related stuff in its own directory. (Closed)
Patch Set: Merge branch 'master' into zonefolder Created 4 years, 3 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 | « src/zone/zone-segment.h ('k') | test/cctest/compiler/test-instruction.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 2008 the V8 project authors. All rights reserved. 1 // Copyright 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 #ifndef CCTEST_H_ 28 #ifndef CCTEST_H_
29 #define CCTEST_H_ 29 #define CCTEST_H_
30 30
31 #include <memory> 31 #include <memory>
32 32
33 #include "include/libplatform/libplatform.h" 33 #include "include/libplatform/libplatform.h"
34 #include "include/v8-debug.h" 34 #include "include/v8-debug.h"
35 #include "src/base/accounting-allocator.h"
36 #include "src/utils.h" 35 #include "src/utils.h"
37 #include "src/v8.h" 36 #include "src/v8.h"
37 #include "src/zone/accounting-allocator.h"
38 38
39 namespace v8 { 39 namespace v8 {
40 namespace base { 40 namespace base {
41 41
42 class RandomNumberGenerator; 42 class RandomNumberGenerator;
43 43
44 } // namespace base 44 } // namespace base
45 45
46 namespace internal { 46 namespace internal {
47 47
(...skipping 532 matching lines...) Expand 10 before | Expand all | Expand 10 after
580 580
581 class HandleAndZoneScope : public InitializedHandleScope { 581 class HandleAndZoneScope : public InitializedHandleScope {
582 public: 582 public:
583 HandleAndZoneScope(); 583 HandleAndZoneScope();
584 ~HandleAndZoneScope(); 584 ~HandleAndZoneScope();
585 585
586 // Prefixing the below with main_ reduces a lot of naming clashes. 586 // Prefixing the below with main_ reduces a lot of naming clashes.
587 i::Zone* main_zone() { return main_zone_.get(); } 587 i::Zone* main_zone() { return main_zone_.get(); }
588 588
589 private: 589 private:
590 v8::base::AccountingAllocator allocator_; 590 v8::internal::AccountingAllocator allocator_;
591 std::unique_ptr<i::Zone> main_zone_; 591 std::unique_ptr<i::Zone> main_zone_;
592 }; 592 };
593 593
594 #endif // ifndef CCTEST_H_ 594 #endif // ifndef CCTEST_H_
OLDNEW
« no previous file with comments | « src/zone/zone-segment.h ('k') | test/cctest/compiler/test-instruction.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698