Skip to content

Commit a411349

Browse files
committed
Revert some unnecessary changes
1 parent 5e53bbd commit a411349

File tree

2 files changed

+1
-12
lines changed

2 files changed

+1
-12
lines changed

Diff for: js/src/jit/Ion.cpp

-8
Original file line numberDiff line numberDiff line change
@@ -1858,14 +1858,6 @@ static bool ScriptIsTooLarge(JSContext* cx, JSScript* script) {
18581858
}
18591859

18601860
bool CanIonCompileScript(JSContext* cx, JSScript* script) {
1861-
#ifdef XP_WIN
1862-
// For now Ion compilation is disabled on windows when recording/replaying due
1863-
// to crashes.
1864-
if (mozilla::recordreplay::IsRecordingOrReplaying()) {
1865-
return false;
1866-
}
1867-
#endif
1868-
18691861
if (!script->canIonCompile()) {
18701862
return false;
18711863
}

Diff for: toolkit/xre/nsWindowsWMain.cpp

+1-4
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,7 @@ static void FreeAllocStrings(int argc, char** argv) {
9191
delete[] argv;
9292
}
9393

94-
// Note: Currently we export wmain so that when replaying it can be called
95-
// directly without having to go through the normal userspace executable
96-
// startup routines.
97-
__declspec(dllexport) int wmain(int argc, WCHAR** argv) {
94+
int wmain(int argc, WCHAR** argv) {
9895
SanitizeEnvironmentVariables();
9996
SetDllDirectoryW(L"");
10097

0 commit comments

Comments
 (0)