Revision: 20829
Author:   [email protected]
Date:     Thu Apr 17 08:03:54 2014 UTC
Log:      Version 3.26.18.1 (merged r20822)

MIPS: Implement structural function and array types

[email protected]
BUG=

Review URL: https://codereview.chromium.org/240653003
http://code.google.com/p/v8/source/detail?r=20829

Modified:
 /trunk/src/mips/stub-cache-mips.cc
 /trunk/src/version.cc

=======================================
--- /trunk/src/mips/stub-cache-mips.cc  Wed Apr 16 10:36:08 2014 UTC
+++ /trunk/src/mips/stub-cache-mips.cc  Thu Apr 17 08:03:54 2014 UTC
@@ -417,7 +417,7 @@
   } else if (representation.IsHeapObject()) {
     HeapType* field_type = descriptors->GetFieldType(descriptor);
     if (field_type->IsClass()) {
-      __ CheckMap(value_reg, scratch1, field_type->AsClass(),
+      __ CheckMap(value_reg, scratch1, field_type->AsClass()->Map(),
                   miss_label, DO_SMI_CHECK);
     } else {
       ASSERT(HeapType::Any()->Is(field_type));
@@ -587,7 +587,7 @@
   } else if (representation.IsHeapObject()) {
     HeapType* field_type = lookup->GetFieldType();
     if (field_type->IsClass()) {
-      __ CheckMap(value_reg, scratch1, field_type->AsClass(),
+      __ CheckMap(value_reg, scratch1, field_type->AsClass()->Map(),
                   miss_label, DO_SMI_CHECK);
     } else {
       ASSERT(HeapType::Any()->Is(field_type));
@@ -838,7 +838,9 @@
   int depth = 0;

   Handle<JSObject> current = Handle<JSObject>::null();
- if (type->IsConstant()) current = Handle<JSObject>::cast(type->AsConstant());
+  if (type->IsConstant()) {
+    current = Handle<JSObject>::cast(type->AsConstant()->Value());
+  }
   Handle<JSObject> prototype = Handle<JSObject>::null();
   Handle<Map> current_map = receiver_map;
   Handle<Map> holder_map(holder->map());
=======================================
--- /trunk/src/version.cc       Thu Apr 17 00:05:12 2014 UTC
+++ /trunk/src/version.cc       Thu Apr 17 08:03:54 2014 UTC
@@ -35,7 +35,7 @@
 #define MAJOR_VERSION     3
 #define MINOR_VERSION     26
 #define BUILD_NUMBER      18
-#define PATCH_LEVEL       0
+#define PATCH_LEVEL       1
 // Use 1 for candidates and 0 otherwise.
 // (Boolean macro values are not supported by all preprocessors.)
 #define IS_CANDIDATE_VERSION 0

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to