MIPS64: Spread the knowledge!
authorbalazs.kilvady@imgtec.com <balazs.kilvady@imgtec.com>
Wed, 22 Oct 2014 10:26:38 +0000 (10:26 +0000)
committerbalazs.kilvady@imgtec.com <balazs.kilvady@imgtec.com>
Wed, 22 Oct 2014 10:26:38 +0000 (10:26 +0000)
Port r24793 (c0c2b0d)

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24799 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

src/mips64/full-codegen-mips64.cc

index 81d7675..30b3fbf 100644 (file)
@@ -1708,6 +1708,8 @@ void FullCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) {
         DCHECK(!CompileTimeValue::IsCompileTimeValue(property->value()));
         // Fall through.
       case ObjectLiteral::Property::COMPUTED:
+        // It is safe to use [[Put]] here because the boilerplate already
+        // contains computed properties with an uninitialized value.
         if (key->value()->IsInternalizedString()) {
           if (property->emit_store()) {
             VisitForAccumulatorValue(value);