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

Unified Diff: src/runtime/runtime.h

Issue 662413002: Move some Runtime:: functions and remove runtime.h as include when unnecessary. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/api.cc ('k') | src/runtime/runtime-array.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 a3b144103b04ba099fbe83049fd435c99cf500ac..084e35d0f82057ac56aa75914794584972fcb88e 100644
--- a/src/runtime/runtime.h
+++ b/src/runtime/runtime.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef V8_RUNTIME_H_
-#define V8_RUNTIME_H_
+#ifndef V8_RUNTIME_RUNTIME_H_
+#define V8_RUNTIME_RUNTIME_H_
#include "src/allocation.h"
#include "src/objects.h"
@@ -777,6 +777,9 @@ class RuntimeState {
};
+class JavaScriptFrameIterator; // Forward declaration.
+
+
class Runtime : public AllStatic {
public:
enum FunctionId {
@@ -828,10 +831,6 @@ class Runtime : public AllStatic {
// Get the intrinsic function with the given function entry address.
static const Function* FunctionForEntry(Address ref);
- // General-purpose helper functions for runtime system.
- static int StringMatch(Isolate* isolate, Handle<String> sub,
- Handle<String> pat, int index);
-
// TODO(1240886): Some of the following methods are *not* handle safe, but
// accept handle arguments. This seems fragile.
@@ -848,13 +847,6 @@ class Runtime : public AllStatic {
Handle<JSObject> object, Handle<Object> key, Handle<Object> value,
PropertyAttributes attr);
- MUST_USE_RESULT static MaybeHandle<Object> DeleteObjectProperty(
- Isolate* isolate, Handle<JSReceiver> object, Handle<Object> key,
- JSReceiver::DeleteMode mode);
-
- MUST_USE_RESULT static MaybeHandle<Object> HasObjectProperty(
- Isolate* isolate, Handle<JSReceiver> object, Handle<Object> key);
-
MUST_USE_RESULT static MaybeHandle<Object> GetObjectProperty(
Isolate* isolate, Handle<Object> object, Handle<Object> key);
@@ -876,6 +868,8 @@ class Runtime : public AllStatic {
static void FreeArrayBuffer(Isolate* isolate,
JSArrayBuffer* phantom_array_buffer);
+ static int FindIndexedNonNativeFrame(JavaScriptFrameIterator* it, int index);
+
enum TypedArrayId {
// arrayIds below should be synchromized with typedarray.js natives.
ARRAY_ID_UINT8 = 1,
@@ -918,4 +912,4 @@ class DeclareGlobalsStrictMode : public BitField<StrictMode, 2, 1> {};
} // namespace internal
} // namespace v8
-#endif // V8_RUNTIME_H_
+#endif // V8_RUNTIME_RUNTIME_H_
« no previous file with comments | « src/api.cc ('k') | src/runtime/runtime-array.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698