| Index: src/runtime.h
|
| ===================================================================
|
| --- src/runtime.h (revision 8778)
|
| +++ src/runtime.h (working copy)
|
| @@ -210,6 +210,7 @@
|
| F(FunctionSetInstanceClassName, 2, 1) \
|
| F(FunctionSetLength, 2, 1) \
|
| F(FunctionSetPrototype, 2, 1) \
|
| + F(FunctionSetReadOnlyPrototype, 1, 1) \
|
| F(FunctionGetName, 1, 1) \
|
| F(FunctionSetName, 2, 1) \
|
| F(FunctionSetBound, 1, 1) \
|
| @@ -284,6 +285,7 @@
|
| F(CreateJSProxy, 2, 1) \
|
| F(IsJSProxy, 1, 1) \
|
| F(GetHandler, 1, 1) \
|
| + F(Fix, 1, 1) \
|
| \
|
| /* Statements */ \
|
| F(NewClosure, 3, 1) \
|
| @@ -349,7 +351,10 @@
|
| F(HasExternalIntElements, 1, 1) \
|
| F(HasExternalUnsignedIntElements, 1, 1) \
|
| F(HasExternalFloatElements, 1, 1) \
|
| - F(HasExternalDoubleElements, 1, 1)
|
| + F(HasExternalDoubleElements, 1, 1) \
|
| + /* profiler */ \
|
| + F(ProfilerResume, 0, 1) \
|
| + F(ProfilerPause, 0, 1)
|
|
|
|
|
| #ifdef ENABLE_DEBUGGER_SUPPORT
|
| @@ -369,7 +374,7 @@
|
| F(GetFrameCount, 1, 1) \
|
| F(GetFrameDetails, 2, 1) \
|
| F(GetScopeCount, 2, 1) \
|
| - F(GetScopeDetails, 3, 1) \
|
| + F(GetScopeDetails, 4, 1) \
|
| F(DebugPrintScopes, 0, 1) \
|
| F(GetThreadCount, 1, 1) \
|
| F(GetThreadDetails, 2, 1) \
|
| @@ -382,7 +387,7 @@
|
| F(IsBreakOnException, 1, 1) \
|
| F(PrepareStep, 3, 1) \
|
| F(ClearStepping, 0, 1) \
|
| - F(DebugEvaluate, 5, 1) \
|
| + F(DebugEvaluate, 6, 1) \
|
| F(DebugEvaluateGlobal, 4, 1) \
|
| F(DebugGetLoadedScripts, 0, 1) \
|
| F(DebugReferencedBy, 3, 1) \
|
| @@ -427,14 +432,6 @@
|
| #define RUNTIME_FUNCTION_LIST_DEBUGGER_SUPPORT(F)
|
| #endif
|
|
|
| -#ifdef ENABLE_LOGGING_AND_PROFILING
|
| -#define RUNTIME_FUNCTION_LIST_PROFILER_SUPPORT(F) \
|
| - F(ProfilerResume, 0, 1) \
|
| - F(ProfilerPause, 0, 1)
|
| -#else
|
| -#define RUNTIME_FUNCTION_LIST_PROFILER_SUPPORT(F)
|
| -#endif
|
| -
|
| #ifdef DEBUG
|
| #define RUNTIME_FUNCTION_LIST_DEBUG(F) \
|
| /* Testing */ \
|
| @@ -452,8 +449,7 @@
|
| RUNTIME_FUNCTION_LIST_ALWAYS_1(F) \
|
| RUNTIME_FUNCTION_LIST_ALWAYS_2(F) \
|
| RUNTIME_FUNCTION_LIST_DEBUG(F) \
|
| - RUNTIME_FUNCTION_LIST_DEBUGGER_SUPPORT(F) \
|
| - RUNTIME_FUNCTION_LIST_PROFILER_SUPPORT(F)
|
| + RUNTIME_FUNCTION_LIST_DEBUGGER_SUPPORT(F)
|
|
|
| // ----------------------------------------------------------------------------
|
| // INLINE_FUNCTION_LIST defines all inlined functions accessed
|
| @@ -642,7 +638,7 @@
|
|
|
| MUST_USE_RESULT static MaybeObject* ForceDeleteObjectProperty(
|
| Isolate* isolate,
|
| - Handle<JSObject> object,
|
| + Handle<JSReceiver> object,
|
| Handle<Object> key);
|
|
|
| MUST_USE_RESULT static MaybeObject* GetObjectProperty(
|
|
|