Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(32)

Unified Diff: base/exception_barrier_lowlevel.asm

Issue 624713003: Keep only base/extractor.[cc|h]. (Closed) Base URL: https://chromium.googlesource.com/external/omaha.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/exception_barrier.cc ('k') | base/exception_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/exception_barrier_lowlevel.asm
diff --git a/base/exception_barrier_lowlevel.asm b/base/exception_barrier_lowlevel.asm
deleted file mode 100644
index 0906b9257b529a1f1240d18fb27102f07591a158..0000000000000000000000000000000000000000
--- a/base/exception_barrier_lowlevel.asm
+++ /dev/null
@@ -1,63 +0,0 @@
-; Copyright 2006-2009 Google Inc.
-;
-; Licensed under the Apache License, Version 2.0 (the "License");
-; you may not use this file except in compliance with the License.
-; You may obtain a copy of the License at
-;
-; http://www.apache.org/licenses/LICENSE-2.0
-;
-; Unless required by applicable law or agreed to in writing, software
-; distributed under the License is distributed on an "AS IS" BASIS,
-; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-; See the License for the specific language governing permissions and
-; limitations under the License.
-; ========================================================================
-;
-; Tag the exception handler as an SEH handler in case the executable
-; is linked with /SAFESEH (which is the default).
-;
-; MASM 8.0 inserts an additional leading underscore in front of names
-; and this is an attempted fix until we understand why.
-IF @version LT 800
-_ExceptionBarrierHandler PROTO
-.SAFESEH _ExceptionBarrierHandler
-ELSE
-ExceptionBarrierHandler PROTO
-.SAFESEH ExceptionBarrierHandler
-ENDIF
-
-.586
-.MODEL FLAT, STDCALL
-ASSUME FS:NOTHING
-.CODE
-
-; extern "C" void WINAPI RegisterExceptionRecord(
-; EXCEPTION_REGISTRATION *registration,
-; ExceptionHandlerFunc func);
-RegisterExceptionRecord PROC registration:DWORD, func:DWORD
-OPTION PROLOGUE:None
-OPTION EPILOGUE:None
- mov edx, DWORD PTR [esp + 4] ; edx is registration
- mov eax, DWORD PTR [esp + 8] ; eax is func
- mov DWORD PTR [edx + 4], eax
- mov eax, FS:[0]
- mov DWORD PTR [edx], eax
- mov FS:[0], edx
- ret 8
-
-RegisterExceptionRecord ENDP
-
-; extern "C" void UnregisterExceptionRecord(
-; EXCEPTION_REGISTRATION *registration);
-UnregisterExceptionRecord PROC registration:DWORD
-OPTION PROLOGUE:None
-OPTION EPILOGUE:None
-
- mov edx, DWORD PTR [esp + 4]
- mov eax, [edx]
- mov FS:[0], eax
- ret 4
-
-UnregisterExceptionRecord ENDP
-
-END
« no previous file with comments | « base/exception_barrier.cc ('k') | base/exception_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698