Changeset 43103 in webkit for trunk/JavaScriptCore/bytecompiler/BytecodeGenerator.h
- Timestamp:
- Apr 30, 2009, 3:58:21 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/bytecompiler/BytecodeGenerator.h
r42574 r43103 351 351 PassRefPtr<Label> emitComplexJumpScopes(Label* target, ControlFlowContext* topScope, ControlFlowContext* bottomScope); 352 352 353 struct JSValueHashTraits : HashTraits< JSValueEncodedAsPointer*> {354 static void constructDeletedValue( JSValueEncodedAsPointer*& slot) { slot = JSValuePtr::encode(jsImpossibleValue()); }355 static bool isDeletedValue( JSValueEncodedAsPointer*value) { return value == JSValuePtr::encode(jsImpossibleValue()); }353 struct JSValueHashTraits : HashTraits<EncodedJSValuePtr> { 354 static void constructDeletedValue(EncodedJSValuePtr& slot) { slot = JSValuePtr::encode(jsImpossibleValue()); } 355 static bool isDeletedValue(EncodedJSValuePtr value) { return value == JSValuePtr::encode(jsImpossibleValue()); } 356 356 }; 357 357 358 typedef HashMap< JSValueEncodedAsPointer*, unsigned, PtrHash<JSValueEncodedAsPointer*>, JSValueHashTraits> JSValueMap;358 typedef HashMap<EncodedJSValuePtr, unsigned, PtrHash<EncodedJSValuePtr>, JSValueHashTraits> JSValueMap; 359 359 360 360 struct IdentifierMapIndexHashTraits {
Note:
See TracChangeset
for help on using the changeset viewer.