From 77b90ebb44229f5e920e95d517cd153c5c3c0ce8 Mon Sep 17 00:00:00 2001
From: Jonathan Schleifer <js@webkeks.org>
Date: Wed, 19 Mar 2014 00:52:39 +0100
Subject: [PATCH] Fix compilation on x86_64

---
 Source/JavaScriptCore/offlineasm/asm.rb | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/Source/JavaScriptCore/offlineasm/asm.rb b/Source/JavaScriptCore/offlineasm/asm.rb
index 8fe6228..0f5849c 100644
--- a/Source/JavaScriptCore/offlineasm/asm.rb
+++ b/Source/JavaScriptCore/offlineasm/asm.rb
@@ -209,7 +209,11 @@ class Assembler
     
     def self.labelReference(labelName)
         if !$emitWinAsm
-            "\" LOCAL_REFERENCE(#{labelName}) \""
+            if labelName == 'llint_throw_from_slow_path_trampoline'
+                "\" GLOBAL_REFERENCE(#{labelName}) \""
+            else
+                "\" LOCAL_REFERENCE(#{labelName}) \""
+            end
         else
             "#{labelName}"
         end
-- 
Jonathan

