47 #define RUNTIME_FUNCTION_LIST_ALWAYS_1(F) \
49 F(GetProperty, 2, 1) \
50 F(KeyedGetProperty, 2, 1) \
51 F(DeleteProperty, 3, 1) \
52 F(HasLocalProperty, 2, 1) \
53 F(HasProperty, 2, 1) \
55 F(IsPropertyEnumerable, 2, 1) \
56 F(GetPropertyNames, 1, 1) \
57 F(GetPropertyNamesFast, 1, 1) \
58 F(GetLocalPropertyNames, 2, 1) \
59 F(GetLocalElementNames, 1, 1) \
60 F(GetInterceptorInfo, 1, 1) \
61 F(GetNamedInterceptorPropertyNames, 1, 1) \
62 F(GetIndexedInterceptorElementNames, 1, 1) \
63 F(GetArgumentsProperty, 1, 1) \
64 F(ToFastProperties, 1, 1) \
65 F(FinishArrayPrototypeSetup, 1, 1) \
66 F(SpecialArrayFunctions, 1, 1) \
67 F(IsSloppyModeFunction, 1, 1) \
68 F(GetDefaultReceiver, 1, 1) \
70 F(GetPrototype, 1, 1) \
71 F(SetPrototype, 2, 1) \
72 F(IsInPrototypeChain, 2, 1) \
74 F(GetOwnProperty, 2, 1) \
76 F(IsExtensible, 1, 1) \
77 F(PreventExtensions, 1, 1)\
80 F(CheckIsBootstrapping, 0, 1) \
84 F(GetFunctionDelegate, 1, 1) \
85 F(GetConstructorDelegate, 1, 1) \
86 F(DeoptimizeFunction, 1, 1) \
87 F(ClearFunctionTypeFeedback, 1, 1) \
88 F(RunningInSimulator, 0, 1) \
89 F(IsConcurrentRecompilationSupported, 0, 1) \
90 F(OptimizeFunctionOnNextCall, -1, 1) \
91 F(NeverOptimizeFunction, 1, 1) \
92 F(GetOptimizationStatus, -1, 1) \
93 F(GetOptimizationCount, 1, 1) \
94 F(UnblockConcurrentRecompilation, 0, 1) \
95 F(CompileForOnStackReplacement, 1, 1) \
96 F(SetAllocationTimeout, -1 , 1) \
97 F(SetNativeFlag, 1, 1) \
98 F(SetInlineBuiltinFlag, 1, 1) \
99 F(StoreArrayLiteralElement, 5, 1) \
100 F(DebugCallbackSupportsStepping, 1, 1) \
101 F(DebugPrepareStepInIfStepping, 1, 1) \
102 F(FlattenString, 1, 1) \
103 F(TryMigrateInstance, 1, 1) \
104 F(NotifyContextDisposed, 0, 1) \
107 F(PushIfAbsent, 2, 1) \
108 F(ArrayConcat, 1, 1) \
114 F(StringToNumber, 1, 1) \
115 F(StringParseInt, 2, 1) \
116 F(StringParseFloat, 1, 1) \
117 F(StringToLowerCase, 1, 1) \
118 F(StringToUpperCase, 1, 1) \
119 F(StringSplit, 3, 1) \
120 F(CharFromCode, 1, 1) \
122 F(URIUnescape, 1, 1) \
124 F(NumberToInteger, 1, 1) \
125 F(NumberToIntegerMapMinusZero, 1, 1) \
126 F(NumberToJSUint32, 1, 1) \
127 F(NumberToJSInt32, 1, 1) \
135 F(NumberUnaryMinus, 1, 1) \
136 F(NumberAlloc, 0, 1) \
137 F(NumberImul, 2, 1) \
139 F(StringBuilderConcat, 3, 1) \
140 F(StringBuilderJoin, 3, 1) \
141 F(SparseJoinWithSeparator, 3, 1) \
153 F(NumberEquals, 2, 1) \
154 F(StringEquals, 2, 1) \
156 F(NumberCompare, 3, 1) \
157 F(SmiLexicographicCompare, 2, 1) \
166 F(Math_floor, 1, 1) \
168 F(Math_pow_cfunction, 2, 1) \
169 F(Math_atan2, 2, 1) \
170 F(RoundNumber, 1, 1) \
171 F(Math_fround, 1, 1) \
174 F(RegExpCompile, 3, 1) \
175 F(RegExpExecMultiple, 4, 1) \
176 F(RegExpInitializeObject, 5, 1) \
180 F(BasicJSONStringify, 1, 1) \
181 F(QuoteJSONString, 1, 1) \
184 F(StringIndexOf, 3, 1) \
185 F(StringLastIndexOf, 3, 1) \
186 F(StringLocaleCompare, 2, 1) \
187 F(StringReplaceGlobalRegExpWithString, 4, 1) \
188 F(StringReplaceOneCharWithString, 3, 1) \
189 F(StringMatch, 3, 1) \
190 F(StringTrim, 3, 1) \
191 F(StringToArray, 2, 1) \
192 F(NewStringWrapper, 1, 1) \
194 F(TruncateString, 2, 1) \
197 F(NumberToRadixString, 2, 1) \
198 F(NumberToFixed, 2, 1) \
199 F(NumberToExponential, 2, 1) \
200 F(NumberToPrecision, 2, 1) \
204 #define RUNTIME_FUNCTION_LIST_ALWAYS_2(F) \
206 F(FunctionSetInstanceClassName, 2, 1) \
207 F(FunctionSetLength, 2, 1) \
208 F(FunctionSetPrototype, 2, 1) \
209 F(FunctionSetReadOnlyPrototype, 1, 1) \
210 F(FunctionGetName, 1, 1) \
211 F(FunctionSetName, 2, 1) \
212 F(FunctionNameShouldPrintAsAnonymous, 1, 1) \
213 F(FunctionMarkNameShouldPrintAsAnonymous, 1, 1) \
214 F(FunctionIsGenerator, 1, 1) \
215 F(FunctionBindArguments, 4, 1) \
216 F(BoundFunctionGetBindings, 1, 1) \
217 F(FunctionRemovePrototype, 1, 1) \
218 F(FunctionGetSourceCode, 1, 1) \
219 F(FunctionGetScript, 1, 1) \
220 F(FunctionGetScriptSourcePosition, 1, 1) \
221 F(FunctionGetPositionForOffset, 2, 1) \
222 F(FunctionIsAPIFunction, 1, 1) \
223 F(FunctionIsBuiltin, 1, 1) \
225 F(CollectStackTrace, 3, 1) \
226 F(GetAndClearOverflowedStackTrace, 1, 1) \
227 F(GetV8Version, 0, 1) \
230 F(SetExpectedNumberOfProperties, 2, 1) \
232 F(CreateApiFunction, 1, 1) \
233 F(IsTemplate, 1, 1) \
234 F(GetTemplateField, 2, 1) \
235 F(DisableAccessChecks, 1, 1) \
236 F(EnableAccessChecks, 1, 1) \
237 F(SetAccessorProperty, 6, 1) \
240 F(DateCurrentTime, 0, 1) \
241 F(DateParseString, 2, 1) \
242 F(DateLocalTimezone, 1, 1) \
244 F(DateMakeDay, 2, 1) \
245 F(DateSetValue, 3, 1) \
246 F(DateCacheVersion, 0, 1) \
249 F(CompileString, 2, 1) \
252 F(GlobalReceiver, 1, 1) \
253 F(IsAttachedGlobal, 1, 1) \
255 F(SetProperty, -1 , 1) \
256 F(DefineOrRedefineDataProperty, 4, 1) \
257 F(DefineOrRedefineAccessorProperty, 5, 1) \
258 F(IgnoreAttributesAndSetProperty, -1 , 1) \
259 F(GetDataProperty, 2, 1) \
260 F(SetHiddenProperty, 3, 1) \
263 F(RemoveArrayHoles, 2, 1) \
264 F(GetArrayKeys, 2, 1) \
265 F(MoveArrayContents, 2, 1) \
266 F(EstimateNumberOfElements, 1, 1) \
269 F(LookupAccessor, 3, 1) \
272 F(ObjectFreeze, 1, 1) \
275 F(GetMicrotaskState, 0, 1) \
278 F(IsJSModule, 1, 1) \
281 F(CreateSymbol, 1, 1) \
282 F(CreatePrivateSymbol, 1, 1) \
283 F(CreateGlobalPrivateSymbol, 1, 1) \
284 F(NewSymbolWrapper, 1, 1) \
285 F(SymbolDescription, 1, 1) \
286 F(SymbolRegistry, 0, 1) \
287 F(SymbolIsPrivate, 1, 1) \
290 F(CreateJSProxy, 2, 1) \
291 F(CreateJSFunctionProxy, 4, 1) \
293 F(IsJSFunctionProxy, 1, 1) \
294 F(GetHandler, 1, 1) \
295 F(GetCallTrap, 1, 1) \
296 F(GetConstructTrap, 1, 1) \
300 F(SetInitialize, 1, 1) \
304 F(SetGetSize, 1, 1) \
307 F(MapInitialize, 1, 1) \
312 F(MapGetSize, 1, 1) \
315 F(WeakCollectionInitialize, 1, 1) \
316 F(WeakCollectionGet, 2, 1) \
317 F(WeakCollectionHas, 2, 1) \
318 F(WeakCollectionDelete, 2, 1) \
319 F(WeakCollectionSet, 3, 1) \
322 F(SetMicrotaskPending, 1, 1) \
323 F(RunMicrotasks, 0, 1) \
326 F(IsObserved, 1, 1) \
327 F(SetIsObserved, 1, 1) \
328 F(GetObservationState, 0, 1) \
329 F(ObservationWeakMapCreate, 0, 1) \
330 F(UnwrapGlobalProxy, 1, 1) \
331 F(IsAccessAllowedForObserver, 3, 1) \
334 F(ArrayBufferInitialize, 2, 1)\
335 F(ArrayBufferGetByteLength, 1, 1)\
336 F(ArrayBufferSliceImpl, 3, 1) \
337 F(ArrayBufferIsView, 1, 1) \
338 F(ArrayBufferNeuter, 1, 1) \
340 F(TypedArrayInitializeFromArrayLike, 4, 1) \
341 F(TypedArrayGetBuffer, 1, 1) \
342 F(TypedArrayGetByteLength, 1, 1) \
343 F(TypedArrayGetByteOffset, 1, 1) \
344 F(TypedArrayGetLength, 1, 1) \
345 F(TypedArraySetFastCases, 3, 1) \
347 F(DataViewGetBuffer, 1, 1) \
348 F(DataViewGetByteLength, 1, 1) \
349 F(DataViewGetByteOffset, 1, 1) \
350 F(DataViewGetInt8, 3, 1) \
351 F(DataViewGetUint8, 3, 1) \
352 F(DataViewGetInt16, 3, 1) \
353 F(DataViewGetUint16, 3, 1) \
354 F(DataViewGetInt32, 3, 1) \
355 F(DataViewGetUint32, 3, 1) \
356 F(DataViewGetFloat32, 3, 1) \
357 F(DataViewGetFloat64, 3, 1) \
359 F(DataViewSetInt8, 4, 1) \
360 F(DataViewSetUint8, 4, 1) \
361 F(DataViewSetInt16, 4, 1) \
362 F(DataViewSetUint16, 4, 1) \
363 F(DataViewSetInt32, 4, 1) \
364 F(DataViewSetUint32, 4, 1) \
365 F(DataViewSetFloat32, 4, 1) \
366 F(DataViewSetFloat64, 4, 1) \
369 F(NewObjectFromBound, 1, 1) \
372 F(InitializeVarGlobal, -1 , 1) \
373 F(OptimizeObjectForAddingMultipleProperties, 2, 1) \
376 F(DebugPrint, 1, 1) \
377 F(GlobalPrint, 1, 1) \
378 F(DebugTrace, 0, 1) \
379 F(TraceEnter, 0, 1) \
387 F(MessageGetStartPosition, 1, 1) \
388 F(MessageGetScript, 1, 1) \
394 F(HasFastSmiElements, 1, 1) \
395 F(HasFastSmiOrObjectElements, 1, 1) \
396 F(HasFastObjectElements, 1, 1) \
397 F(HasFastDoubleElements, 1, 1) \
398 F(HasFastHoleyElements, 1, 1) \
399 F(HasDictionaryElements, 1, 1) \
400 F(HasSloppyArgumentsElements, 1, 1) \
401 F(HasExternalUint8ClampedElements, 1, 1) \
402 F(HasExternalArrayElements, 1, 1) \
403 F(HasExternalInt8Elements, 1, 1) \
404 F(HasExternalUint8Elements, 1, 1) \
405 F(HasExternalInt16Elements, 1, 1) \
406 F(HasExternalUint16Elements, 1, 1) \
407 F(HasExternalInt32Elements, 1, 1) \
408 F(HasExternalUint32Elements, 1, 1) \
409 F(HasExternalFloat32Elements, 1, 1) \
410 F(HasExternalFloat64Elements, 1, 1) \
411 F(HasFixedUint8ClampedElements, 1, 1) \
412 F(HasFixedInt8Elements, 1, 1) \
413 F(HasFixedUint8Elements, 1, 1) \
414 F(HasFixedInt16Elements, 1, 1) \
415 F(HasFixedUint16Elements, 1, 1) \
416 F(HasFixedInt32Elements, 1, 1) \
417 F(HasFixedUint32Elements, 1, 1) \
418 F(HasFixedFloat32Elements, 1, 1) \
419 F(HasFixedFloat64Elements, 1, 1) \
420 F(HasFastProperties, 1, 1) \
421 F(TransitionElementsKind, 2, 1) \
422 F(HaveSameMap, 2, 1) \
423 F(IsAccessCheckNeeded, 1, 1)
426 #ifdef ENABLE_DEBUGGER_SUPPORT
427 #define RUNTIME_FUNCTION_LIST_DEBUGGER_SUPPORT(F) \
429 F(DebugBreak, 0, 1) \
430 F(SetDebugEventListener, 2, 1) \
432 F(DebugGetPropertyDetails, 2, 1) \
433 F(DebugGetProperty, 2, 1) \
434 F(DebugPropertyTypeFromDetails, 1, 1) \
435 F(DebugPropertyAttributesFromDetails, 1, 1) \
436 F(DebugPropertyIndexFromDetails, 1, 1) \
437 F(DebugNamedInterceptorPropertyValue, 2, 1) \
438 F(DebugIndexedInterceptorElementValue, 2, 1) \
439 F(CheckExecutionState, 1, 1) \
440 F(GetFrameCount, 1, 1) \
441 F(GetFrameDetails, 2, 1) \
442 F(GetScopeCount, 2, 1) \
443 F(GetStepInPositions, 2, 1) \
444 F(GetScopeDetails, 4, 1) \
445 F(GetAllScopesDetails, 4, 1) \
446 F(GetFunctionScopeCount, 1, 1) \
447 F(GetFunctionScopeDetails, 2, 1) \
448 F(SetScopeVariableValue, 6, 1) \
449 F(DebugPrintScopes, 0, 1) \
450 F(GetThreadCount, 1, 1) \
451 F(GetThreadDetails, 2, 1) \
452 F(SetDisableBreak, 1, 1) \
453 F(GetBreakLocations, 2, 1) \
454 F(SetFunctionBreakPoint, 3, 1) \
455 F(SetScriptBreakPoint, 4, 1) \
456 F(ClearBreakPoint, 1, 1) \
457 F(ChangeBreakOnException, 2, 1) \
458 F(IsBreakOnException, 1, 1) \
459 F(PrepareStep, 4, 1) \
460 F(ClearStepping, 0, 1) \
461 F(DebugEvaluate, 6, 1) \
462 F(DebugEvaluateGlobal, 4, 1) \
463 F(DebugGetLoadedScripts, 0, 1) \
464 F(DebugReferencedBy, 3, 1) \
465 F(DebugConstructedBy, 2, 1) \
466 F(DebugGetPrototype, 1, 1) \
467 F(DebugSetScriptSource, 2, 1) \
468 F(SystemBreak, 0, 1) \
469 F(DebugDisassembleFunction, 1, 1) \
470 F(DebugDisassembleConstructor, 1, 1) \
471 F(FunctionGetInferredName, 1, 1) \
472 F(LiveEditFindSharedFunctionInfosForScript, 1, 1) \
473 F(LiveEditGatherCompileInfo, 2, 1) \
474 F(LiveEditReplaceScript, 3, 1) \
475 F(LiveEditReplaceFunctionCode, 2, 1) \
476 F(LiveEditFunctionSourceUpdated, 1, 1) \
477 F(LiveEditFunctionSetScript, 2, 1) \
478 F(LiveEditReplaceRefToNestedFunction, 3, 1) \
479 F(LiveEditPatchFunctionPositions, 2, 1) \
480 F(LiveEditCheckAndDropActivations, 2, 1) \
481 F(LiveEditCompareStrings, 2, 1) \
482 F(LiveEditRestartFrame, 2, 1) \
483 F(GetFunctionCodePositionFromSource, 2, 1) \
484 F(ExecuteInDebugContext, 2, 1) \
487 F(CollectGarbage, 1, 1) \
488 F(GetHeapUsage, 0, 1) \
491 #define RUNTIME_FUNCTION_LIST_DEBUGGER_SUPPORT(F)
495 #ifdef V8_I18N_SUPPORT
496 #define RUNTIME_FUNCTION_LIST_I18N_SUPPORT(F) \
499 F(CanonicalizeLanguageTag, 1, 1) \
500 F(AvailableLocalesOf, 1, 1) \
501 F(GetDefaultICULocale, 0, 1) \
502 F(GetLanguageTagVariants, 1, 1) \
505 F(CreateDateTimeFormat, 3, 1) \
506 F(InternalDateFormat, 2, 1) \
507 F(InternalDateParse, 2, 1) \
510 F(CreateNumberFormat, 3, 1) \
511 F(InternalNumberFormat, 2, 1) \
512 F(InternalNumberParse, 2, 1) \
515 F(CreateCollator, 3, 1) \
516 F(InternalCompare, 3, 1) \
519 F(StringNormalize, 2, 1) \
522 F(CreateBreakIterator, 3, 1) \
523 F(BreakIteratorAdoptText, 2, 1) \
524 F(BreakIteratorFirst, 1, 1) \
525 F(BreakIteratorNext, 1, 1) \
526 F(BreakIteratorCurrent, 1, 1) \
527 F(BreakIteratorBreakType, 1, 1) \
530 #define RUNTIME_FUNCTION_LIST_I18N_SUPPORT(F)
535 #define RUNTIME_FUNCTION_LIST_DEBUG(F) \
539 #define RUNTIME_FUNCTION_LIST_DEBUG(F)
548 #define RUNTIME_FUNCTION_LIST(F) \
549 RUNTIME_FUNCTION_LIST_ALWAYS_1(F) \
550 RUNTIME_FUNCTION_LIST_ALWAYS_2(F) \
551 RUNTIME_FUNCTION_LIST_DEBUG(F) \
552 RUNTIME_FUNCTION_LIST_DEBUGGER_SUPPORT(F) \
553 RUNTIME_FUNCTION_LIST_I18N_SUPPORT(F)
558 #define RUNTIME_HIDDEN_FUNCTION_LIST(F) \
559 F(NumberToString, 1, 1) \
560 F(RegExpConstructResult, 3, 1) \
561 F(RegExpExec, 4, 1) \
564 F(StringCompare, 2, 1) \
565 F(StringCharCodeAt, 2, 1) \
567 F(GetFromCache, 2, 1) \
570 F(CompileUnoptimized, 1, 1) \
571 F(CompileOptimized, 2, 1) \
572 F(TryInstallOptimizedCode, 1, 1) \
573 F(NotifyDeoptimized, 1, 1) \
574 F(NotifyStubFailure, 0, 1) \
577 F(AllocateInNewSpace, 1, 1) \
578 F(AllocateInTargetSpace, 2, 1) \
579 F(AllocateHeapNumber, 0, 1) \
580 F(NumberToSmi, 1, 1) \
581 F(NumberToStringSkipCache, 1, 1) \
583 F(NewArgumentsFast, 3, 1) \
584 F(NewStrictArgumentsFast, 3, 1) \
587 F(CreateJSGeneratorObject, 0, 1) \
588 F(SuspendJSGeneratorObject, 1, 1) \
589 F(ResumeJSGeneratorObject, 3, 1) \
590 F(ThrowGeneratorStateError, 1, 1) \
593 F(ArrayConstructor, -1, 1) \
594 F(InternalArrayConstructor, -1, 1) \
597 F(MaterializeRegExpLiteral, 4, 1)\
598 F(CreateObjectLiteral, 4, 1) \
599 F(CreateArrayLiteral, 4, 1) \
600 F(CreateArrayLiteralStubBailout, 3, 1) \
603 F(NewClosure, 3, 1) \
604 F(NewClosureFromStubFailure, 1, 1) \
606 F(NewObjectWithAllocationSite, 2, 1) \
607 F(FinalizeInstanceSize, 1, 1) \
610 F(ThrowReferenceError, 1, 1) \
611 F(ThrowNotDateError, 0, 1) \
612 F(ThrowMessage, 1, 1) \
613 F(StackGuard, 0, 1) \
615 F(PromoteScheduledException, 0, 1) \
618 F(NewGlobalContext, 2, 1) \
619 F(NewFunctionContext, 1, 1) \
620 F(PushWithContext, 2, 1) \
621 F(PushCatchContext, 3, 1) \
622 F(PushBlockContext, 2, 1) \
623 F(PushModuleContext, 2, 1) \
624 F(DeleteContextSlot, 2, 1) \
625 F(LoadContextSlot, 2, 2) \
626 F(LoadContextSlotNoReferenceError, 2, 2) \
627 F(StoreContextSlot, 4, 1) \
630 F(DeclareGlobals, 3, 1) \
631 F(DeclareModules, 1, 1) \
632 F(DeclareContextSlot, 4, 1) \
633 F(InitializeConstGlobal, 2, 1) \
634 F(InitializeConstContextSlot, 3, 1) \
637 F(ResolvePossiblyDirectEval, 5, 2)
643 #define INLINE_FUNCTION_LIST(F) \
645 F(IsNonNegativeSmi, 1, 1) \
648 F(IsConstructCall, 0, 1) \
649 F(CallFunction, -1 , 1) \
650 F(ArgumentsLength, 0, 1) \
653 F(SetValueOf, 2, 1) \
654 F(DateField, 2 , 1) \
655 F(StringCharFromCode, 1, 1) \
656 F(StringCharAt, 2, 1) \
657 F(OneByteSeqStringSetChar, 3, 1) \
658 F(TwoByteSeqStringSetChar, 3, 1) \
659 F(ObjectEquals, 2, 1) \
661 F(IsFunction, 1, 1) \
662 F(IsUndetectableObject, 1, 1) \
663 F(IsSpecObject, 1, 1) \
664 F(IsStringWrapperSafeForDefaultValueOf, 1, 1) \
668 F(IsMinusZero, 1, 1) \
669 F(HasCachedArrayIndex, 1, 1) \
670 F(GetCachedArrayIndex, 1, 1) \
671 F(FastAsciiArrayJoin, 2, 1) \
672 F(GeneratorNext, 2, 1) \
673 F(GeneratorThrow, 2, 1) \
674 F(DebugBreakInOptimizedCode, 0, 1) \
676 F(StringCharCodeAt, 2, 1) \
680 F(StringCompare, 2, 1) \
681 F(RegExpExec, 4, 1) \
682 F(RegExpConstructResult, 3, 1) \
683 F(GetFromCache, 2, 1) \
684 F(NumberToString, 1, 1)
692 #define INLINE_OPTIMIZED_FUNCTION_LIST(F) \
695 F(ConstructDouble, 2, 1) \
696 F(TypedArrayInitialize, 5, 1) \
697 F(DataViewInitialize, 4, 1) \
699 F(TypedArrayMaxSizeInHeap, 0, 1)
708 return &string_iterator_;
711 return &to_upper_mapping_;
714 return &to_lower_mapping_;
717 return &string_iterator_compare_x_;
720 return &string_iterator_compare_y_;
723 return &string_locale_compare_it1_;
726 return &string_locale_compare_it2_;
732 StaticResource<ConsStringIteratorOp> string_iterator_;
735 ConsStringIteratorOp string_iterator_compare_x_;
736 ConsStringIteratorOp string_iterator_compare_y_;
737 ConsStringIteratorOp string_locale_compare_it1_;
738 ConsStringIteratorOp string_locale_compare_it2_;
750 #define F(name, nargs, ressize) k##name,
753 #define F(name, nargs, ressize) kHidden##name,
756 #define F(name, nargs, ressize) kInline##name,
759 #define F(name, nargs, ressize) kInlineOptimized##name,
863 size_t allocated_length);
868 size_t allocated_length,
869 bool initialize =
true);
894 size_t *element_size);
920 #endif // V8_RUNTIME_H_
#define INLINE_FUNCTION_LIST(F)
ConsStringIteratorOp * string_locale_compare_it2()
static const int kNotFound
ConsStringIteratorOp * string_iterator_compare_y()
static const Function * FunctionForName(Handle< String > name)
StaticResource< ConsStringIteratorOp > * string_iterator()
static const Function * FunctionForId(FunctionId id)
static void NeuterArrayBuffer(Handle< JSArrayBuffer > array_buffer)
static MUST_USE_RESULT MaybeObject * HasObjectProperty(Isolate *isolate, Handle< JSReceiver > object, Handle< Object > key)
#define RUNTIME_FUNCTION_LIST(F)
static MUST_USE_RESULT MaybeObject * InitializeIntrinsicFunctionNames(Heap *heap, Object *dictionary)
static MUST_USE_RESULT MaybeObject * DeleteObjectProperty(Isolate *isolate, Handle< JSReceiver > object, Handle< Object > key, JSReceiver::DeleteMode mode)
enable upcoming ES6 features enable harmony block scoping enable harmony enable harmony proxies enable harmony generators enable harmony numeric enable harmony string enable harmony math functions harmony_scoping harmony_symbols harmony_collections harmony_iteration harmony_strings harmony_scoping harmony_maths tracks arrays with only smi values Optimize object Array DOM strings and string pretenure call new trace pretenuring decisions of HAllocate instructions track fields with only smi values track fields with heap values track_fields track_fields Enables optimizations which favor memory size over execution speed use string slices optimization filter maximum number of GVN fix point iterations use function inlining use allocation folding eliminate write barriers targeting allocations in optimized code maximum source size in bytes considered for a single inlining maximum cumulative number of AST nodes considered for inlining crankshaft harvests type feedback from stub cache trace check elimination phase hydrogen tracing filter trace hydrogen to given file name trace inlining decisions trace store elimination trace all use positions trace global value numbering trace hydrogen escape analysis trace the tracking of allocation sites trace map generalization environment for every instruction deoptimize every n garbage collections put a break point before deoptimizing deoptimize uncommon cases use on stack replacement trace array bounds check elimination perform array index dehoisting use load elimination use store elimination use constant folding eliminate unreachable code number of stress runs when picking a function to watch for shared function not JSFunction itself flushes the cache of optimized code for closures on every GC functions with arguments object maximum number of escape analysis fix point iterations allow uint32 values on optimize frames if they are used only in safe operations track concurrent recompilation artificial compilation delay in ms concurrent on stack replacement do not emit check maps for constant values that have a leaf deoptimize the optimized code if the layout of the maps changes number of stack frames inspected by the profiler percentage of ICs that must have type info to allow optimization extra verbose compilation tracing generate extra emit comments in code disassembly enable use of SSE3 instructions if available enable use of CMOV instruction if available enable use of VFP3 instructions if available enable use of NEON instructions if enable use of SDIV and UDIV instructions if enable loading bit constant by means of movw movt instruction enable unaligned accesses for enable use of d16 d31 registers on ARM this requires VFP3 force all emitted branches to be in long mode(MIPS only)") DEFINE_string(expose_natives_as
ConsStringIteratorOp * string_iterator_compare_x()
ConsStringIteratorOp * string_locale_compare_it1()
static void PerformGC(Object *result, Isolate *isolate)
static Handle< Object > ForceSetObjectProperty(Isolate *isolate, Handle< JSObject > object, Handle< Object > key, Handle< Object > value, PropertyAttributes attr)
#define DISALLOW_COPY_AND_ASSIGN(TypeName)
IntrinsicType intrinsic_type
static Handle< Object > GetElementOrCharAt(Isolate *isolate, Handle< Object > object, uint32_t index)
unibrow::Mapping< unibrow::ToUppercase, 128 > * to_upper_mapping()
static int StringMatch(Isolate *isolate, Handle< String > sub, Handle< String > pat, int index)
static bool IsUpperCaseChar(RuntimeState *runtime_state, uint16_t ch)
static Handle< Object > CreateArrayLiteralBoilerplate(Isolate *isolate, Handle< FixedArray > literals, Handle< FixedArray > elements)
static MUST_USE_RESULT MaybeObject * GetObjectPropertyOrFail(Isolate *isolate, Handle< Object > object, Handle< Object > key)
static void SetupArrayBuffer(Isolate *isolate, Handle< JSArrayBuffer > array_buffer, bool is_external, void *data, size_t allocated_length)
#define RUNTIME_HIDDEN_FUNCTION_LIST(F)
static MUST_USE_RESULT MaybeObject * GetObjectProperty(Isolate *isolate, Handle< Object > object, Handle< Object > key)
static bool SetupArrayBufferAllocatingData(Isolate *isolate, Handle< JSArrayBuffer > array_buffer, size_t allocated_length, bool initialize=true)
static Handle< Object > SetObjectProperty(Isolate *isolate, Handle< Object > object, Handle< Object > key, Handle< Object > value, PropertyAttributes attr, StrictMode strict_mode)
enable upcoming ES6 features enable harmony block scoping enable harmony enable harmony proxies enable harmony generators enable harmony numeric literals(0o77, 0b11)") DEFINE_bool(harmony_strings
unibrow::Mapping< unibrow::ToLowercase, 128 > * to_lower_mapping()
static void ArrayIdToTypeAndSize(int array_id, ExternalArrayType *type, ElementsKind *external_elements_kind, ElementsKind *fixed_elements_kind, size_t *element_size)
enable upcoming ES6 features enable harmony block scoping enable harmony enable harmony proxies enable harmony generators enable harmony numeric enable harmony string enable harmony math functions harmony_scoping harmony_symbols harmony_collections harmony_iteration harmony_strings harmony_scoping harmony_maths tracks arrays with only smi values Optimize object Array DOM strings and string pretenure call new trace pretenuring decisions of HAllocate instructions track fields with only smi values track fields with heap values track_fields track_fields Enables optimizations which favor memory size over execution speed use string slices optimization filter maximum number of GVN fix point iterations use function inlining use allocation folding eliminate write barriers targeting allocations in optimized code maximum source size in bytes considered for a single inlining maximum cumulative number of AST nodes considered for inlining crankshaft harvests type feedback from stub cache trace check elimination phase hydrogen tracing filter trace hydrogen to given file name trace inlining decisions trace store elimination trace all use positions trace global value numbering trace hydrogen escape analysis trace the tracking of allocation sites trace map generalization environment for every instruction deoptimize every n garbage collections put a break point before deoptimizing deoptimize uncommon cases use on stack replacement trace array bounds check elimination perform array index dehoisting use load elimination use store elimination use constant folding eliminate unreachable code number of stress runs when picking a function to watch for shared function not JSFunction itself flushes the cache of optimized code for closures on every GC functions with arguments object maximum number of escape analysis fix point iterations allow uint32 values on optimize frames if they are used only in safe operations track concurrent recompilation artificial compilation delay in ms concurrent on stack replacement do not emit check maps for constant values that have a leaf deoptimize the optimized code if the layout of the maps changes number of stack frames inspected by the profiler percentage of ICs that must have type info to allow optimization extra verbose compilation tracing generate extra emit comments in code disassembly enable use of SSE3 instructions if available enable use of CMOV instruction if available enable use of VFP3 instructions if available enable use of NEON instructions if enable use of SDIV and UDIV instructions if enable loading bit constant by means of movw movt instruction enable unaligned accesses for enable use of d16 d31 registers on ARM this requires VFP3 force all emitted branches to be in long expose natives in global object expose freeBuffer extension expose gc extension under the specified name expose externalize string extension number of stack frames to capture disable builtin natives files print name of functions for which code is generated use random jit cookie to mask large constants trace lazy optimization use adaptive optimizations always try to OSR functions trace optimize function deoptimization minimum length for automatic enable preparsing maximum number of optimization attempts before giving up cache prototype transitions trace debugging JSON request response trace out of bounds accesses to external arrays trace_js_array_abuse automatically set the debug break flag when debugger commands are in the queue abort by crashing maximum length of function source code printed in a stack trace max size of the new max size of the old max size of executable always perform global GCs print one trace line following each garbage collection do not print trace line after scavenger collection print statistics of the maximum memory committed for the heap in name
static void OutOfMemory()
static void FreeArrayBuffer(Isolate *isolate, JSArrayBuffer *phantom_array_buffer)
#define INLINE_OPTIMIZED_FUNCTION_LIST(F)