Spread the knowledge!
R=arv@chromium.org, mstarzinger@chromium.org Review URL: https://codereview.chromium.org/670623005 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24793 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
b57976051b
commit
af97f09b94
@ -1726,6 +1726,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);
|
||||
|
@ -1706,6 +1706,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);
|
||||
|
@ -5621,6 +5621,8 @@ void HOptimizedGraphBuilder::VisitObjectLiteral(ObjectLiteral* expr) {
|
||||
DCHECK(!CompileTimeValue::IsCompileTimeValue(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()) {
|
||||
CHECK_ALIVE(VisitForValue(value));
|
||||
|
@ -1657,6 +1657,8 @@ void FullCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) {
|
||||
DCHECK(!CompileTimeValue::IsCompileTimeValue(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);
|
||||
|
@ -1711,6 +1711,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);
|
||||
|
@ -1691,6 +1691,8 @@ void FullCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) {
|
||||
DCHECK(!CompileTimeValue::IsCompileTimeValue(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);
|
||||
|
@ -1646,6 +1646,8 @@ void FullCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) {
|
||||
DCHECK(!CompileTimeValue::IsCompileTimeValue(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);
|
||||
|
Loading…
Reference in New Issue
Block a user