Title: [108856] trunk/Source/_javascript_Core
Revision
108856
Author
[email protected]
Date
2012-02-24 15:35:23 -0800 (Fri, 24 Feb 2012)

Log Message

Unreviewed, build fix for builds where the DFG is disabled but the LLInt is
enabled.

* llint/LLIntOfflineAsmConfig.h:
* llint/LowLevelInterpreter.asm:

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (108855 => 108856)


--- trunk/Source/_javascript_Core/ChangeLog	2012-02-24 23:24:46 UTC (rev 108855)
+++ trunk/Source/_javascript_Core/ChangeLog	2012-02-24 23:35:23 UTC (rev 108856)
@@ -1,5 +1,13 @@
 2012-02-24  Filip Pizlo  <[email protected]>
 
+        Unreviewed, build fix for builds where the DFG is disabled but the LLInt is
+        enabled.
+
+        * llint/LLIntOfflineAsmConfig.h:
+        * llint/LowLevelInterpreter.asm:
+
+2012-02-24  Filip Pizlo  <[email protected]>
+
         DFG should be able to handle variables getting captured
         https://bugs.webkit.org/show_bug.cgi?id=79469
 

Modified: trunk/Source/_javascript_Core/llint/LLIntOfflineAsmConfig.h (108855 => 108856)


--- trunk/Source/_javascript_Core/llint/LLIntOfflineAsmConfig.h	2012-02-24 23:24:46 UTC (rev 108855)
+++ trunk/Source/_javascript_Core/llint/LLIntOfflineAsmConfig.h	2012-02-24 23:35:23 UTC (rev 108856)
@@ -73,6 +73,12 @@
 #define OFFLINE_ASM_ALWAYS_ALLOCATE_SLOW 0
 #endif
 
+#if ENABLE(VALUE_PROFILER)
+#define OFFLINE_ASM_VALUE_PROFILER 1
+#else
+#define OFFLINE_ASM_VALUE_PROFILER 0
+#endif
+
 #if CPU(ARM_THUMB2)
 #define OFFLINE_ASM_GLOBAL_LABEL(label)          \
     ".globl " SYMBOL_STRING(label) "\n"          \

Modified: trunk/Source/_javascript_Core/llint/LowLevelInterpreter.asm (108855 => 108856)


--- trunk/Source/_javascript_Core/llint/LowLevelInterpreter.asm	2012-02-24 23:24:46 UTC (rev 108855)
+++ trunk/Source/_javascript_Core/llint/LowLevelInterpreter.asm	2012-02-24 23:35:23 UTC (rev 108856)
@@ -379,7 +379,7 @@
 end
 
 macro valueProfile(tag, payload, profile)
-    if JIT_ENABLED
+    if VALUE_PROFILER
         storei tag, ValueProfile::m_buckets + TagOffset[profile]
         storei payload, ValueProfile::m_buckets + PayloadOffset[profile]
     end
@@ -450,7 +450,7 @@
 # Expects that CodeBlock is in t1, which is what prologue() leaves behind.
 # Must call dispatch(0) after calling this.
 macro functionInitialization(profileArgSkip)
-    if JIT_ENABLED
+    if VALUE_PROFILER
         # Profile the arguments. Unfortunately, we have no choice but to do this. This
         # code is pretty horrendous because of the difference in ordering between
         # arguments and value profiles, the desire to have a simple loop-down-to-zero
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to