| 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_
|
|
|