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

Unified Diff: src/runtime/runtime.h

Issue 1305383003: Move runtime helper for JSArrayBuffer onto objects. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_cleanup-runtime-helpers-2
Patch Set: Self-nit. Created 5 years, 4 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/objects.cc ('k') | src/runtime/runtime-typedarray.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/runtime/runtime.h
diff --git a/src/runtime/runtime.h b/src/runtime/runtime.h
index afd09473ffb67488851983304332abc01c0a59ac..dcc010807e5c7801b9930f3dacdebf8f2a27d8b2 100644
--- a/src/runtime/runtime.h
+++ b/src/runtime/runtime.h
@@ -1083,9 +1083,6 @@ class RuntimeState {
};
-class JavaScriptFrameIterator; // Forward declaration.
-
-
class Runtime : public AllStatic {
public:
enum FunctionId {
@@ -1156,17 +1153,6 @@ class Runtime : public AllStatic {
MUST_USE_RESULT static MaybeHandle<Name> ToName(Isolate* isolate,
Handle<Object> key);
- static void SetupArrayBuffer(Isolate* isolate,
- Handle<JSArrayBuffer> array_buffer,
- bool is_external, void* data,
- size_t allocated_length,
- SharedFlag shared = SharedFlag::kNotShared);
-
- static bool SetupArrayBufferAllocatingData(
- Isolate* isolate, Handle<JSArrayBuffer> array_buffer,
- size_t allocated_length, bool initialize = true,
- SharedFlag shared = SharedFlag::kNotShared);
-
enum TypedArrayId {
// arrayIds below should be synchronized with typedarray.js natives.
ARRAY_ID_UINT8 = 1,
« no previous file with comments | « src/objects.cc ('k') | src/runtime/runtime-typedarray.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698