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

Side by Side Diff: src/allocation.h

Issue 1371083003: [presubmit] Enable readability/namespace linter checking. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebased. Created 5 years, 2 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/accessors.h ('k') | src/allocation-site-scopes.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 #ifndef V8_ALLOCATION_H_ 5 #ifndef V8_ALLOCATION_H_
6 #define V8_ALLOCATION_H_ 6 #define V8_ALLOCATION_H_
7 7
8 #include "src/globals.h" 8 #include "src/globals.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 class FreeStoreAllocationPolicy { 81 class FreeStoreAllocationPolicy {
82 public: 82 public:
83 INLINE(void* New(size_t size)) { return Malloced::New(size); } 83 INLINE(void* New(size_t size)) { return Malloced::New(size); }
84 INLINE(static void Delete(void* p)) { Malloced::Delete(p); } 84 INLINE(static void Delete(void* p)) { Malloced::Delete(p); }
85 }; 85 };
86 86
87 87
88 void* AlignedAlloc(size_t size, size_t alignment); 88 void* AlignedAlloc(size_t size, size_t alignment);
89 void AlignedFree(void *ptr); 89 void AlignedFree(void *ptr);
90 90
91 } } // namespace v8::internal 91 } // namespace internal
92 } // namespace v8
92 93
93 #endif // V8_ALLOCATION_H_ 94 #endif // V8_ALLOCATION_H_
OLDNEW
« no previous file with comments | « src/accessors.h ('k') | src/allocation-site-scopes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698