Changeset 216217 in webkit for trunk/Source/JavaScriptCore/replay
- Timestamp:
- May 4, 2017, 4:24:13 PM (8 years ago)
- Location:
- trunk/Source/JavaScriptCore/replay/scripts
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/replay/scripts/CodeGeneratorReplayInputsTemplates.py
r206533 r216217 2 2 # Copyright (c) 2011 Google Inc. All rights reserved. 3 3 # Copyright (c) 2012 Intel Corporation. All rights reserved. 4 # Copyright (c) 2013 , 2014, 2016Apple Inc. All rights reserved.4 # Copyright (c) 2013-2017 Apple Inc. All rights reserved. 5 5 # 6 6 # Redistribution and use in source and binary forms, with or without … … 151 151 """const String& InputTraits<${qualifiedInputName}>::type() 152 152 { 153 static NeverDestroyed<const String> type( ASCIILiteral(${inputNameStringLiteral}));153 static NeverDestroyed<const String> type(MAKE_STATIC_STRING_IMPL(${inputNameStringLiteral})); 154 154 return type; 155 155 } -
trunk/Source/JavaScriptCore/replay/scripts/tests/expected/generate-enum-encoding-helpers-with-guarded-values.json-TestReplayInputs.cpp
r178714 r216217 51 51 const String& InputTraits<Test::SavedMouseButton>::type() 52 52 { 53 static NeverDestroyed<const String> type( ASCIILiteral("SavedMouseButton"));53 static NeverDestroyed<const String> type(MAKE_STATIC_STRING_IMPL("SavedMouseButton")); 54 54 return type; 55 55 } -
trunk/Source/JavaScriptCore/replay/scripts/tests/expected/generate-enum-encoding-helpers.json-TestReplayInputs.cpp
r206099 r216217 52 52 const String& InputTraits<Test::SavedMouseButton>::type() 53 53 { 54 static NeverDestroyed<const String> type( ASCIILiteral("SavedMouseButton"));54 static NeverDestroyed<const String> type(MAKE_STATIC_STRING_IMPL("SavedMouseButton")); 55 55 return type; 56 56 } -
trunk/Source/JavaScriptCore/replay/scripts/tests/expected/generate-enum-with-guard.json-TestReplayInputs.cpp
r194496 r216217 53 53 const String& InputTraits<Test::HandleWheelEvent>::type() 54 54 { 55 static NeverDestroyed<const String> type( ASCIILiteral("HandleWheelEvent"));55 static NeverDestroyed<const String> type(MAKE_STATIC_STRING_IMPL("HandleWheelEvent")); 56 56 return type; 57 57 } -
trunk/Source/JavaScriptCore/replay/scripts/tests/expected/generate-enums-with-same-base-name.json-TestReplayInputs.cpp
r178714 r216217 53 53 const String& InputTraits<Test::FormCombo>::type() 54 54 { 55 static NeverDestroyed<const String> type( ASCIILiteral("FormCombo"));55 static NeverDestroyed<const String> type(MAKE_STATIC_STRING_IMPL("FormCombo")); 56 56 return type; 57 57 } -
trunk/Source/JavaScriptCore/replay/scripts/tests/expected/generate-input-with-guard.json-TestReplayInputs.cpp
r174113 r216217 63 63 const String& InputTraits<Test::GetCurrentTime>::type() 64 64 { 65 static NeverDestroyed<const String> type( ASCIILiteral("GetCurrentTime"));65 static NeverDestroyed<const String> type(MAKE_STATIC_STRING_IMPL("GetCurrentTime")); 66 66 return type; 67 67 } … … 85 85 const String& InputTraits<Test::SetRandomSeed>::type() 86 86 { 87 static NeverDestroyed<const String> type( ASCIILiteral("SetRandomSeed"));87 static NeverDestroyed<const String> type(MAKE_STATIC_STRING_IMPL("SetRandomSeed")); 88 88 return type; 89 89 } -
trunk/Source/JavaScriptCore/replay/scripts/tests/expected/generate-input-with-vector-members.json-TestReplayInputs.cpp
r174113 r216217 64 64 const String& InputTraits<Test::ArrayOfThings>::type() 65 65 { 66 static NeverDestroyed<const String> type( ASCIILiteral("ArrayOfThings"));66 static NeverDestroyed<const String> type(MAKE_STATIC_STRING_IMPL("ArrayOfThings")); 67 67 return type; 68 68 } … … 95 95 const String& InputTraits<Test::SavedHistory>::type() 96 96 { 97 static NeverDestroyed<const String> type( ASCIILiteral("SavedHistory"));97 static NeverDestroyed<const String> type(MAKE_STATIC_STRING_IMPL("SavedHistory")); 98 98 return type; 99 99 } -
trunk/Source/JavaScriptCore/replay/scripts/tests/expected/generate-inputs-with-flags.json-TestReplayInputs.cpp
r174113 r216217 60 60 const String& InputTraits<Test::ScalarInput1>::type() 61 61 { 62 static NeverDestroyed<const String> type( ASCIILiteral("ScalarInput1"));62 static NeverDestroyed<const String> type(MAKE_STATIC_STRING_IMPL("ScalarInput1")); 63 63 return type; 64 64 } … … 81 81 const String& InputTraits<Test::ScalarInput2>::type() 82 82 { 83 static NeverDestroyed<const String> type( ASCIILiteral("ScalarInput2"));83 static NeverDestroyed<const String> type(MAKE_STATIC_STRING_IMPL("ScalarInput2")); 84 84 return type; 85 85 } -
trunk/Source/JavaScriptCore/replay/scripts/tests/expected/generate-memoized-type-modes.json-TestReplayInputs.cpp
r194496 r216217 60 60 const String& InputTraits<Test::ScalarInput>::type() 61 61 { 62 static NeverDestroyed<const String> type( ASCIILiteral("ScalarInput"));62 static NeverDestroyed<const String> type(MAKE_STATIC_STRING_IMPL("ScalarInput")); 63 63 return type; 64 64 } … … 81 81 const String& InputTraits<Test::MapInput>::type() 82 82 { 83 static NeverDestroyed<const String> type( ASCIILiteral("MapInput"));83 static NeverDestroyed<const String> type(MAKE_STATIC_STRING_IMPL("MapInput")); 84 84 return type; 85 85 }
Note:
See TracChangeset
for help on using the changeset viewer.