summaryrefslogtreecommitdiffstats
path: root/courgette/assembly_program.cc
diff options
context:
space:
mode:
authortommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-03 23:39:32 +0000
committertommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-03 23:39:32 +0000
commit6c1319541aee6ff89c06457b46d46bbcbcfe868f (patch)
tree45eda090e3e17f5c7247dd4b1ec6649bfde4d04d /courgette/assembly_program.cc
parent4006448408b35ca6be5aef5db1be1e966d31eee4 (diff)
downloadchromium_src-6c1319541aee6ff89c06457b46d46bbcbcfe868f.zip
chromium_src-6c1319541aee6ff89c06457b46d46bbcbcfe868f.tar.gz
chromium_src-6c1319541aee6ff89c06457b46d46bbcbcfe868f.tar.bz2
Instrument the allocator code so that we can track down the cause of recent crashes.
BUG=74777 TEST=This should give us a clearer picture of what's going wrong in the recent courgette crashes. Review URL: http://codereview.chromium.org/6611027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76834 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'courgette/assembly_program.cc')
-rw-r--r--courgette/assembly_program.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/courgette/assembly_program.cc b/courgette/assembly_program.cc
index 345ca89..1dc9ecf 100644
--- a/courgette/assembly_program.cc
+++ b/courgette/assembly_program.cc
@@ -289,6 +289,9 @@ void AssemblyProgram::AssignRemainingIndexes(RVAToLabel* labels) {
typedef void (EncodedProgram::*DefineLabelMethod)(int index, RVA value);
+#if defined(OS_WIN)
+__declspec(noinline)
+#endif
static void DefineLabels(const RVAToLabel& labels,
EncodedProgram* encoded_format,
DefineLabelMethod define_label) {