X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/81345200c95645a1b0d2635520f96ad55dfde63f..ed1e77d3adeb83d26fd1dfb16dd84cabdcefd250:/ftl/FTLJITCode.cpp?ds=inline diff --git a/ftl/FTLJITCode.cpp b/ftl/FTLJITCode.cpp index c031609..6120f05 100644 --- a/ftl/FTLJITCode.cpp +++ b/ftl/FTLJITCode.cpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2013 Apple Inc. All rights reserved. + * Copyright (C) 2013, 2015 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -125,6 +125,14 @@ DFG::CommonData* JITCode::dfgCommon() return &common; } +void JITCode::validateReferences(const TrackedReferences& trackedReferences) +{ + common.validateReferences(trackedReferences); + + for (OSRExit& exit : osrExit) + exit.validateReferences(trackedReferences); +} + } } // namespace JSC::FTL #endif // ENABLE(FTL_JIT)