]> git.saurik.com Git - apple/javascriptcore.git/blobdiff - dfg/DFGUseKind.cpp
JavaScriptCore-7600.1.4.15.12.tar.gz
[apple/javascriptcore.git] / dfg / DFGUseKind.cpp
index bfba754b71ffabcde73df5a7a0aa785f329b8e72..913a7154af96577d1c2b0b2690506b9a000f6441 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2013 Apple Inc. All rights reserved.
+ * Copyright (C) 2013, 2014 Apple Inc. All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
@@ -28,6 +28,8 @@
 
 #if ENABLE(DFG_JIT)
 
+#include "JSCInlines.h"
+
 namespace WTF {
 
 using namespace JSC::DFG;
@@ -44,14 +46,23 @@ void printInternal(PrintStream& out, UseKind useKind)
     case KnownInt32Use:
         out.print("KnownInt32");
         break;
-    case RealNumberUse:
-        out.print("RealNumber");
+    case Int52RepUse:
+        out.print("Int52Rep");
+        break;
+    case MachineIntUse:
+        out.print("MachineInt");
         break;
     case NumberUse:
         out.print("Number");
         break;
-    case KnownNumberUse:
-        out.print("KnownNumber");
+    case DoubleRepUse:
+        out.print("DoubleRep");
+        break;
+    case DoubleRepRealUse:
+        out.print("DoubleRepReal");
+        break;
+    case DoubleRepMachineIntUse:
+        out.print("DoubleRepMachineInt");
         break;
     case BooleanUse:
         out.print("Boolean");
@@ -65,9 +76,15 @@ void printInternal(PrintStream& out, UseKind useKind)
     case ObjectUse:
         out.print("Object");
         break;
+    case FinalObjectUse:
+        out.print("FinalObject");
+        break;
     case ObjectOrOtherUse:
         out.print("ObjectOrOther");
         break;
+    case StringIdentUse:
+        out.print("StringIdent");
+        break;
     case StringUse:
         out.print("String");
         break;
@@ -80,12 +97,18 @@ void printInternal(PrintStream& out, UseKind useKind)
     case StringOrStringObjectUse:
         out.print("StringOrStringObject");
         break;
+    case NotStringVarUse:
+        out.print("NotStringVar");
+        break;
     case NotCellUse:
         out.print("NotCell");
         break;
     case OtherUse:
         out.print("Other");
         break;
+    case MiscUse:
+        out.print("Misc");
+        break;
     default:
         RELEASE_ASSERT_NOT_REACHED();
         break;