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

Unified Diff: src/libsampler/utils.h

Issue 2000323007: Revert of Create libsampler as V8 sampler library. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/libsampler/hashmap.h ('k') | src/libsampler/v8-sampler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/libsampler/utils.h
diff --git a/src/libsampler/utils.h b/src/libsampler/utils.h
deleted file mode 100644
index a0e28cefc85fadac722e71e70280f38994b38f36..0000000000000000000000000000000000000000
--- a/src/libsampler/utils.h
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright 2016 the V8 project authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef V8_LIBSAMPLER_UTILS_H_
-#define V8_LIBSAMPLER_UTILS_H_
-
-#include "include/v8.h"
-
-namespace v8 {
-namespace sampler {
-
-class Malloced {
- public:
- static void* New(size_t size) {
- return malloc(size);
- }
-
- static void Delete(void* p) {
- free(p);
- }
-};
-
-} // namespace sampler
-} // namespace v8
-
-#endif // V8_LIBSAMPLER_UTILS_H_
« no previous file with comments | « src/libsampler/hashmap.h ('k') | src/libsampler/v8-sampler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698