Yet another build fix
authoroliver@apple.com <oliver@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 13 Feb 2013 23:37:27 +0000 (23:37 +0000)
committeroliver@apple.com <oliver@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 13 Feb 2013 23:37:27 +0000 (23:37 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@142813 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/bytecode/CodeBlock.cpp

index f83fecd..8c89dac 100644 (file)
@@ -1,3 +1,10 @@
+2013-02-13  Oliver Hunt  <oliver@apple.com>
+
+        Yet another build fix
+
+        * bytecode/CodeBlock.cpp:
+        (JSC::CodeBlock::CodeBlock):
+
 2013-02-13  Zan Dobersek  <zdobersek@igalia.com>
 
         The 'global isinf/isnan' compiler quirk required when using clang with libstdc++
index 1bc2a6d..0fcb430 100644 (file)
@@ -1907,9 +1907,9 @@ CodeBlock::CodeBlock(ScriptExecutable* ownerExecutable, UnlinkedCodeBlock* unlin
             ASSERT(profile->m_bytecodeOffset == -1);
             profile->m_bytecodeOffset = i;
             ASSERT((opLength - 1) > 3);
+            instructions[i + opLength - 1] = profile;
 #endif
             instructions[i + 3].u.resolveOperations = &m_resolveOperations[pc[i + 3].u.operand];
-            instructions[i + opLength - 1] = profile;
             break;
         }
         case op_resolve_with_base: