| Index: src/runtime.h
|
| diff --git a/src/runtime.h b/src/runtime.h
|
| index 823285fd37661bad76a15483a06cc104b680512b..99c575f22706f917836199ff4de7e45841a939fc 100644
|
| --- a/src/runtime.h
|
| +++ b/src/runtime.h
|
| @@ -64,7 +64,7 @@ namespace internal {
|
| F(ToFastProperties, 1, 1) \
|
| F(FinishArrayPrototypeSetup, 1, 1) \
|
| F(SpecialArrayFunctions, 1, 1) \
|
| - F(IsClassicModeFunction, 1, 1) \
|
| + F(IsSloppyModeFunction, 1, 1) \
|
| F(GetDefaultReceiver, 1, 1) \
|
| \
|
| F(GetPrototype, 1, 1) \
|
| @@ -131,7 +131,6 @@ namespace internal {
|
| F(URIEscape, 1, 1) \
|
| F(URIUnescape, 1, 1) \
|
| \
|
| - F(NumberToString, 1, 1) \
|
| F(NumberToStringSkipCache, 1, 1) \
|
| F(NumberToInteger, 1, 1) \
|
| F(NumberToPositiveInteger, 1, 1) \
|
| @@ -151,7 +150,6 @@ namespace internal {
|
| F(NumberAlloc, 0, 1) \
|
| F(NumberImul, 2, 1) \
|
| \
|
| - F(StringAdd, 2, 1) \
|
| F(StringBuilderConcat, 3, 1) \
|
| F(StringBuilderJoin, 3, 1) \
|
| F(SparseJoinWithSeparator, 3, 1) \
|
| @@ -171,16 +169,12 @@ namespace internal {
|
| \
|
| F(NumberCompare, 3, 1) \
|
| F(SmiLexicographicCompare, 2, 1) \
|
| - F(StringCompare, 2, 1) \
|
| \
|
| /* Math */ \
|
| F(Math_acos, 1, 1) \
|
| F(Math_asin, 1, 1) \
|
| F(Math_atan, 1, 1) \
|
| F(Math_log, 1, 1) \
|
| - F(Math_cbrt, 1, 1) \
|
| - F(Math_log1p, 1, 1) \
|
| - F(Math_expm1, 1, 1) \
|
| F(Math_sqrt, 1, 1) \
|
| F(Math_exp, 1, 1) \
|
| F(Math_floor, 1, 1) \
|
| @@ -192,10 +186,8 @@ namespace internal {
|
| \
|
| /* Regular expressions */ \
|
| F(RegExpCompile, 3, 1) \
|
| - F(RegExpExec, 4, 1) \
|
| F(RegExpExecMultiple, 4, 1) \
|
| F(RegExpInitializeObject, 5, 1) \
|
| - F(RegExpConstructResult, 3, 1) \
|
| \
|
| /* JSON */ \
|
| F(ParseJson, 1, 1) \
|
| @@ -203,11 +195,9 @@ namespace internal {
|
| F(QuoteJSONString, 1, 1) \
|
| \
|
| /* Strings */ \
|
| - F(StringCharCodeAt, 2, 1) \
|
| F(StringIndexOf, 3, 1) \
|
| F(StringLastIndexOf, 3, 1) \
|
| F(StringLocaleCompare, 2, 1) \
|
| - F(SubString, 3, 1) \
|
| F(StringReplaceGlobalRegExpWithString, 4, 1) \
|
| F(StringReplaceOneCharWithString, 3, 1) \
|
| F(StringMatch, 3, 1) \
|
| @@ -250,7 +240,6 @@ namespace internal {
|
| F(GetAndClearOverflowedStackTrace, 1, 1) \
|
| F(GetV8Version, 0, 1) \
|
| \
|
| - F(ClassOf, 1, 1) \
|
| F(SetCode, 2, 1) \
|
| F(SetExpectedNumberOfProperties, 2, 1) \
|
| \
|
| @@ -268,6 +257,7 @@ namespace internal {
|
| F(DateToUTC, 1, 1) \
|
| F(DateMakeDay, 2, 1) \
|
| F(DateSetValue, 3, 1) \
|
| + F(DateCacheVersion, 0, 1) \
|
| \
|
| /* Numbers */ \
|
| \
|
| @@ -285,6 +275,7 @@ namespace internal {
|
| F(DefineOrRedefineAccessorProperty, 5, 1) \
|
| F(IgnoreAttributesAndSetProperty, -1 /* 3 or 4 */, 1) \
|
| F(GetDataProperty, 2, 1) \
|
| + F(SetHiddenProperty, 3, 1) \
|
| \
|
| /* Arrays */ \
|
| F(RemoveArrayHoles, 2, 1) \
|
| @@ -312,7 +303,7 @@ namespace internal {
|
| /* ES5 */ \
|
| F(ObjectFreeze, 1, 1) \
|
| \
|
| - /* Harmony Microtasks */ \
|
| + /* Harmony microtasks */ \
|
| F(GetMicrotaskState, 0, 1) \
|
| \
|
| /* Harmony modules */ \
|
| @@ -448,12 +439,8 @@ namespace internal {
|
| F(TraceExit, 1, 1) \
|
| F(Abort, 1, 1) \
|
| F(AbortJS, 1, 1) \
|
| - /* Logging */ \
|
| - F(Log, 2, 1) \
|
| /* ES5 */ \
|
| F(LocalKeys, 1, 1) \
|
| - /* Cache suport */ \
|
| - F(GetFromCache, 2, 1) \
|
| \
|
| /* Message objects */ \
|
| F(MessageGetStartPosition, 1, 1) \
|
| @@ -469,7 +456,7 @@ namespace internal {
|
| F(HasFastDoubleElements, 1, 1) \
|
| F(HasFastHoleyElements, 1, 1) \
|
| F(HasDictionaryElements, 1, 1) \
|
| - F(HasNonStrictArgumentsElements, 1, 1) \
|
| + F(HasSloppyArgumentsElements, 1, 1) \
|
| F(HasExternalUint8ClampedElements, 1, 1) \
|
| F(HasExternalArrayElements, 1, 1) \
|
| F(HasExternalInt8Elements, 1, 1) \
|
| @@ -505,6 +492,7 @@ namespace internal {
|
| F(GetScopeCount, 2, 1) \
|
| F(GetStepInPositions, 2, 1) \
|
| F(GetScopeDetails, 4, 1) \
|
| + F(GetAllScopesDetails, 3, 1) \
|
| F(GetFunctionScopeCount, 1, 1) \
|
| F(GetFunctionScopeDetails, 2, 1) \
|
| F(SetScopeVariableValue, 6, 1) \
|
| @@ -611,7 +599,8 @@ namespace internal {
|
| RUNTIME_FUNCTION_LIST_ALWAYS_2(F) \
|
| RUNTIME_FUNCTION_LIST_DEBUG(F) \
|
| RUNTIME_FUNCTION_LIST_DEBUGGER_SUPPORT(F) \
|
| - RUNTIME_FUNCTION_LIST_I18N_SUPPORT(F)
|
| + RUNTIME_FUNCTION_LIST_I18N_SUPPORT(F) \
|
| + INLINE_RUNTIME_FUNCTION_LIST(F)
|
|
|
| // ----------------------------------------------------------------------------
|
| // INLINE_FUNCTION_LIST defines all inlined functions accessed
|
| @@ -648,7 +637,8 @@ namespace internal {
|
| F(FastAsciiArrayJoin, 2, 1) \
|
| F(GeneratorNext, 2, 1) \
|
| F(GeneratorThrow, 2, 1) \
|
| - F(DebugBreakInOptimizedCode, 0, 1)
|
| + F(DebugBreakInOptimizedCode, 0, 1) \
|
| + INLINE_RUNTIME_FUNCTION_LIST(F)
|
|
|
|
|
| // ----------------------------------------------------------------------------
|
| @@ -666,7 +656,10 @@ namespace internal {
|
| F(RegExpExec, 4, 1) \
|
| F(RegExpConstructResult, 3, 1) \
|
| F(GetFromCache, 2, 1) \
|
| - F(NumberToString, 1, 1)
|
| + F(NumberToString, 1, 1) \
|
| + F(DoubleHi, 1, 1) \
|
| + F(DoubleLo, 1, 1) \
|
| + F(ConstructDouble, 2, 1)
|
|
|
|
|
| //---------------------------------------------------------------------------
|
| @@ -722,7 +715,6 @@ class Runtime : public AllStatic {
|
| #undef F
|
| #define F(name, nargs, ressize) kInline##name,
|
| INLINE_FUNCTION_LIST(F)
|
| - INLINE_RUNTIME_FUNCTION_LIST(F)
|
| #undef F
|
| kNumFunctions,
|
| kFirstInlineFunction = kInlineIsSmi
|
| @@ -794,7 +786,7 @@ class Runtime : public AllStatic {
|
| Handle<Object> key,
|
| Handle<Object> value,
|
| PropertyAttributes attr,
|
| - StrictModeFlag strict_mode);
|
| + StrictMode strict_mode);
|
|
|
| static Handle<Object> ForceSetObjectProperty(
|
| Isolate* isolate,
|
| @@ -870,12 +862,12 @@ class Runtime : public AllStatic {
|
| //---------------------------------------------------------------------------
|
| // Constants used by interface to runtime functions.
|
|
|
| -class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {};
|
| -class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {};
|
| +class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {};
|
| +class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {};
|
|
|
| -class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
|
| -class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
|
| -class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {};
|
| +class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
|
| +class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
|
| +class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {};
|
|
|
| } } // namespace v8::internal
|
|
|
|
|