28 #ifndef V8_STUB_CACHE_H_
29 #define V8_STUB_CACHE_H_
52 class CallOptimization;
130 int number_of_valid_maps,
170 reinterpret_cast<Address>(&
first_entry(table)->key));
182 reinterpret_cast<Address>(&
first_entry(table)->value));
234 uint32_t map_low32bits =
235 static_cast<uint32_t
>(
reinterpret_cast<uintptr_t
>(
map));
241 uint32_t key = (map_low32bits + field) ^ iflags;
250 uint32_t name_low32bits =
251 static_cast<uint32_t
>(
reinterpret_cast<uintptr_t
>(
name));
256 uint32_t key = (seed - name_low32bits) + iflags;
265 static Entry* entry(Entry* table,
int offset) {
267 return reinterpret_cast<Entry*
>(
268 reinterpret_cast<Address>(table) + offset * multiplier);
271 static const int kPrimaryTableBits = 11;
272 static const int kPrimaryTableSize = (1 << kPrimaryTableBits);
273 static const int kSecondaryTableBits = 9;
274 static const int kSecondaryTableSize = (1 << kSecondaryTableBits);
276 Entry primary_[kPrimaryTableSize];
277 Entry secondary_[kSecondaryTableSize];
311 : isolate_(isolate), extra_ic_state_(extra_ic_state),
312 masm_(isolate,
NULL, 256), failure_(
NULL) { }
324 static void GenerateLoadGlobalFunctionPrototype(
MacroAssembler* masm,
333 static void GenerateDictionaryNegativeLookup(
MacroAssembler* masm,
346 static void GenerateDirectLoadGlobalFunctionPrototype(
MacroAssembler* masm,
402 void GenerateBooleanCheck(
Register object, Label* miss);
405 const CallOptimization& optimization,
424 LookupResult* lookup);
449 : StubCompiler(isolate, extra_ic_state),
468 case Code::LOAD_IC:
return Builtins::kLoadIC_Miss;
469 case Code::STORE_IC:
return Builtins::kStoreIC_Miss;
470 case Code::KEYED_LOAD_IC:
return Builtins::kKeyedLoadIC_Miss;
471 case Code::KEYED_STORE_IC:
return Builtins::kKeyedStoreIC_Miss;
474 return Builtins::kLoadIC_Miss;
502 if (!code->is_inline_cache_stub())
return Logger::STUB_TAG;
503 if (
kind_ == Code::LOAD_IC) {
505 ? Logger::LOAD_IC_TAG : Logger::LOAD_POLYMORPHIC_IC_TAG;
506 }
else if (
kind_ == Code::KEYED_LOAD_IC) {
508 ? Logger::KEYED_LOAD_IC_TAG : Logger::KEYED_LOAD_POLYMORPHIC_IC_TAG;
509 }
else if (
kind_ == Code::STORE_IC) {
511 ? Logger::STORE_IC_TAG : Logger::STORE_POLYMORPHIC_IC_TAG;
514 ? Logger::KEYED_STORE_IC_TAG : Logger::KEYED_STORE_POLYMORPHIC_IC_TAG;
559 const CallOptimization& call_optimization);
593 bool is_dont_delete);
629 LookupResult* lookup,
634 LookupResult* lookup);
649 Code::KEYED_LOAD_IC) { }
674 LookupResult* lookup,
679 LookupResult* lookup,
683 LookupResult* lookup,
696 LookupResult* lookup,
710 LookupResult* lookup,
726 const CallOptimization& call_optimization);
748 case Code::STORE_IC:
return Builtins::kStoreIC_Slow;
749 case Code::KEYED_STORE_IC:
return Builtins::kKeyedStoreIC_Slow;
752 return Builtins::kStoreIC_Slow;
797 Register transition_map() {
return scratch1(); }
806 explicit CallOptimization(LookupResult* lookup);
811 return !constant_function_.is_null();
815 ASSERT(is_constant_call());
816 return constant_function_;
820 return is_simple_api_call_;
824 ASSERT(is_simple_api_call());
825 return expected_receiver_type_;
829 ASSERT(is_simple_api_call());
830 return api_call_info_;
840 HolderLookup* holder_lookup)
const;
854 bool is_simple_api_call_;
862 #endif // V8_STUB_CACHE_H_
virtual void HandlerFrontendFooter(Handle< Name > name, Label *miss)
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 NULL
Handle< Code > ComputeLoadNonexistent(Handle< Name > name, Handle< HeapType > type)
Handle< Code > CompileLoadConstant(Handle< HeapType > type, Handle< JSObject > holder, Handle< Name > name, Handle< Object > value)
void GenerateRestoreName(MacroAssembler *masm, Label *label, Handle< Name > name)
virtual Register HandlerFrontendHeader(Handle< HeapType > type, Register object_reg, Handle< JSObject > holder, Handle< Name > name, Label *miss)
BaseLoadStoreStubCompiler(Isolate *isolate, Code::Kind kind, ExtraICState extra_ic_state=kNoExtraICState, InlineCacheHolderFlag cache_holder=OWN_MAP)
bool is_simple_api_call() const
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 map
void GenerateProbe(MacroAssembler *masm, Code::Flags flags, Register receiver, Register name, Register scratch, Register extra, Register extra2=no_reg, Register extra3=no_reg)
Handle< Code > CompileMonomorphicIC(Handle< HeapType > type, Handle< Code > handler, Handle< Name > name)
Handle< Code > CompileStoreInterceptor(Handle< JSObject > object, Handle< Name > name)
virtual ~StoreStubCompiler()
void set_failure(Failure *failure)
virtual Register HandlerFrontendHeader(Handle< HeapType > type, Register object_reg, Handle< JSObject > holder, Handle< Name > name, Label *miss)=0
virtual ~BaseLoadStoreStubCompiler()
static ContextualMode GetContextualMode(ExtraICState state)
void CollectMatchingMaps(SmallMapList *types, Handle< Name > name, Code::Flags flags, Handle< Context > native_context, Zone *zone)
void GenerateLoadField(Register reg, Handle< JSObject > holder, PropertyIndex field, Representation representation)
bool is_constant_call() const
static const int kInterceptorArgsLength
static Builtins::Name SlowBuiltin(Code::Kind kind)
static const int kInterceptorArgsNameIndex
SCTableReference map_reference(StubCache::Table table)
#define ASSERT(condition)
Handle< Code > ComputeKeyedLoadElement(Handle< Map > receiver_map)
Handle< Code > CompileStoreCallback(Handle< JSObject > object, Handle< JSObject > holder, Handle< Name > name, Handle< ExecutableAccessorInfo > callback)
virtual ~LoadStubCompiler()
virtual Register HandlerFrontendHeader(Handle< HeapType > type, Register object_reg, Handle< JSObject > holder, Handle< Name > name, Label *miss)
virtual void HandlerFrontendFooter(Handle< Name > name, Label *miss)
friend class SCTableReference
Handle< Code > CompileLoadInterceptor(Handle< HeapType > type, Handle< JSObject > holder, Handle< Name > name)
void GenerateLoadPostInterceptor(Register reg, Handle< JSObject > interceptor_holder, Handle< Name > name, LookupResult *lookup)
StoreStubCompiler(Isolate *isolate, ExtraICState extra_ic_state, Code::Kind kind=Code::STORE_IC)
InlineCacheHolderFlag cache_holder_
STATIC_ASSERT(sizeof(CPURegister)==sizeof(Register))
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 only print modified registers Don t break for ASM_UNIMPLEMENTED_BREAK macros print stack trace when an illegal exception is thrown randomize hashes to avoid predictable hash Fixed seed to use to hash property Print the time it takes to deserialize the snapshot testing_bool_flag testing_int_flag string flag tmp file in which to serialize heap Print the time it takes to lazily compile hydrogen code stubs concurrent_recompilation concurrent_sweeping Print usage including flags
Handle< Code > ComputeMonomorphicIC(Code::Kind kind, Handle< Name > name, Handle< HeapType > type, Handle< Code > handler, ExtraICState extra_ic_state)
Handle< JSObject > StubHolder(Handle< JSObject > receiver, Handle< JSObject > holder)
static void GenerateStoreViaSetter(MacroAssembler *masm, Handle< HeapType > type, Register receiver, Handle< JSFunction > setter)
virtual void HandlerFrontendFooter(Handle< Name > name, Label *miss)=0
KeyedLoadStubCompiler(Isolate *isolate, ExtraICState extra_ic_state=kNoExtraICState, InlineCacheHolderFlag cache_holder=OWN_MAP)
Handle< Code > ComputePolymorphicIC(Code::Kind kind, TypeHandleList *types, CodeHandleList *handlers, int number_of_valid_maps, Handle< Name > name, ExtraICState extra_ic_state)
ExtraICState extra_state()
Handle< Code > ComputeStore(InlineCacheState ic_state, ExtraICState extra_state)
StubCache::Entry * first_entry(StubCache::Table table)
void check(i::Vector< const uint8_t > string)
static KeyedAccessStoreMode GetKeyedAccessStoreMode(ExtraICState extra_state)
Handle< Code > CompilePolymorphicIC(TypeHandleList *types, CodeHandleList *handlers, Handle< Name > name, Code::StubType type, IcCheckType check)
Handle< Code > CompileStoreTransition(Handle< JSObject > object, LookupResult *lookup, Handle< Map > transition, Handle< Name > name)
void GenerateLoadConstant(Handle< Object > value)
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 code(assertions) for debugging") DEFINE_bool(code_comments
ContextualMode contextual_mode()
static const int kInterceptorArgsThisIndex
#define DISALLOW_COPY_AND_ASSIGN(TypeName)
Handle< Code > CompileStoreElement(Handle< Map > receiver_map)
Handle< Code > CompileStoreArrayLength(Handle< JSObject > object, LookupResult *lookup, Handle< Name > name)
static void GenerateLoadViaGetterForDeopt(MacroAssembler *masm)
Handle< Code > ComputeKeyedStoreElement(Handle< Map > receiver_map, StrictMode strict_mode, KeyedAccessStoreMode store_mode)
void GenerateNegativeHolderLookup(MacroAssembler *masm, Handle< JSObject > holder, Register holder_reg, Handle< Name > name, Label *miss)
Handle< Code > CompileLoadNonexistent(Handle< HeapType > type, Handle< JSObject > last, Handle< Name > name)
Handle< Code > CompileLoadGlobal(Handle< HeapType > type, Handle< GlobalObject > holder, Handle< PropertyCell > cell, Handle< Name > name, bool is_dont_delete)
Handle< Code > FindIC(Handle< Name > name, Handle< Map > stub_holder_map, Code::Kind kind, ExtraICState extra_state=kNoExtraICState, InlineCacheHolderFlag cache_holder=OWN_MAP)
void InitializeRegisters()
StubCompiler(Isolate *isolate, ExtraICState extra_ic_state=kNoExtraICState)
static void GenerateLoadDictionaryElement(MacroAssembler *masm)
Handle< Code > CompileStoreViaSetter(Handle< JSObject > object, Handle< JSObject > holder, Handle< Name > name, Handle< JSFunction > setter)
void GenerateLoadInterceptor(Register holder_reg, Handle< Object > object, Handle< JSObject > holder, LookupResult *lookup, Handle< Name > name)
void CompileElementHandlers(MapHandleList *receiver_maps, CodeHandleList *handlers)
Handle< Code > ComputeLoad(InlineCacheState ic_state, ExtraICState extra_state)
Handle< Code > CompileLoadField(Handle< HeapType > type, Handle< JSObject > holder, Handle< Name > name, PropertyIndex index, Representation representation)
static const int kInterceptorArgsInfoIndex
Handle< FunctionTemplateInfo > expected_receiver_type() const
SCTableReference key_reference(StubCache::Table table)
void GenerateLoadCallback(Register reg, Handle< ExecutableAccessorInfo > callback)
static Builtins::Name MissBuiltin(Code::Kind kind)
Handle< CallHandlerInfo > api_call_info() const
Register CallbackHandlerFrontend(Handle< HeapType > type, Register object_reg, Handle< JSObject > holder, Handle< Name > name, Handle< Object > callback)
KeyedStoreStubCompiler(Isolate *isolate, ExtraICState extra_ic_state)
void GenerateStoreField(MacroAssembler *masm, Handle< JSObject > object, LookupResult *lookup, Register receiver_reg, Register name_reg, Register value_reg, Register scratch1, Register scratch2, Label *miss_label)
Handle< Code > ComputeCompareNil(Handle< Map > receiver_map, CompareNilICStub &stub)
DECLARE_RUNTIME_FUNCTION(MaybeObject *, KeyedLoadIC_MissFromStubFailure)
Handle< Code > CompileLoadViaGetter(Handle< HeapType > type, Handle< JSObject > holder, Handle< Name > name, Handle< JSFunction > getter)
void GenerateStoreArrayLength()
Handle< Code > ComputeStoreElementPolymorphic(MapHandleList *receiver_maps, KeyedAccessStoreMode store_mode, StrictMode strict_mode)
void NonexistentHandlerFrontend(Handle< HeapType > type, Handle< JSObject > last, Handle< Name > name)
const int kHeapObjectTagSize
SCTableReference value_reference(StubCache::Table table)
Code * Set(Name *name, Map *map, Code *code)
static const int kHashShift
static const int kFlagsNotUsedInLookup
Handle< Code > GetCode(Code::Kind kind, Code::StubType type, Handle< Name > name)
void GenerateStoreTransition(MacroAssembler *masm, Handle< JSObject > object, LookupResult *lookup, Handle< Map > transition, Handle< Name > name, Register receiver_reg, Register name_reg, Register value_reg, Register scratch1, Register scratch2, Register scratch3, Label *miss_label, Label *slow)
Register HandlerFrontend(Handle< HeapType > type, Register object_reg, Handle< JSObject > holder, Handle< Name > name)
Handle< Code > CompileStoreElementPolymorphic(MapHandleList *receiver_maps)
Logger::LogEventsAndTags log_kind(Handle< Code > code)
Handle< Code > CompileStorePolymorphic(MapHandleList *receiver_maps, CodeHandleList *handler_stubs, MapHandleList *transitioned_maps)
static void GenerateLoadViaGetter(MacroAssembler *masm, Handle< HeapType > type, Register receiver, Handle< JSFunction > getter)
static const int kInterceptorArgsHolderIndex
static void GenerateStoreViaSetterForDeopt(MacroAssembler *masm)
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
Handle< JSFunction > constant_function() const
void JitEvent(Handle< Name > name, Handle< Code > code)
Handle< Code > GetICCode(Code::Kind kind, Code::StubType type, Handle< Name > name, InlineCacheState state=MONOMORPHIC)
Handle< Code > CompileLoadCallback(Handle< HeapType > type, Handle< JSObject > holder, Handle< Name > name, Handle< ExecutableAccessorInfo > callback)
Handle< Code > CompileLoadElement(Handle< Map > receiver_map)
Code * FindPreMonomorphicIC(Code::Kind kind, ExtraICState extra_ic_state)
Handle< Code > CompileStoreField(Handle< JSObject > object, LookupResult *lookup, Handle< Name > name)
LoadStubCompiler(Isolate *isolate, ExtraICState extra_ic_state=kNoExtraICState, InlineCacheHolderFlag cache_holder=OWN_MAP, Code::Kind kind=Code::LOAD_IC)
Handle< Code > FindHandler(Handle< Name > name, Handle< Map > map, Code::Kind kind, InlineCacheHolderFlag cache_holder, Code::StubType type)
Handle< Code > ComputeLoadElementPolymorphic(MapHandleList *receiver_maps)
static void GenerateStoreDictionaryElement(MacroAssembler *masm)
bool IncludesNumberType(TypeHandleList *types)