File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
lib/Common/DataStructures Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 1
1
// -------------------------------------------------------------------------------------------------------
2
2
// Copyright (C) Microsoft. All rights reserved.
3
+ // Copyright (c) ChakraCore Project Contributors. All rights reserved.
3
4
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
4
5
// -------------------------------------------------------------------------------------------------------
5
6
#pragma once
@@ -748,10 +749,12 @@ namespace regex
748
749
return result;
749
750
}
750
751
752
+ bool __attribute__ ((noinline)) CheckNull( void * obj ) { return obj == nullptr ; }
753
+
751
754
// Info: Return true if the list is empty.
752
755
bool IsEmpty ()
753
756
{
754
- return this == Empty ( );
757
+ return CheckNull ( this );
755
758
}
756
759
757
760
// Info: Return a list containing the given single value
You can’t perform that action at this time.
0 commit comments