summaryrefslogtreecommitdiffstats
path: root/courgette/assembly_program.cc
diff options
context:
space:
mode:
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) {