X87: Build ObjectLiteral constant properties in the numbering phase.
authorchunyang.dai <chunyang.dai@intel.com>
Wed, 10 Jun 2015 09:15:00 +0000 (02:15 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 10 Jun 2015 09:15:04 +0000 (09:15 +0000)
port 450002f3a105d4bb17fd3b1a9d9d54464c01d200 (r28749)

original commit message:

    It's necessary to do this in order to know how many type feedback vector slots
    we should allocate for the object literal.

BUG=

Review URL: https://codereview.chromium.org/1168563003

Cr-Commit-Position: refs/heads/master@{#28898}

src/x87/full-codegen-x87.cc

index 3af7ce6a7d0c7753e55bd68f0d83704ae3e5d060..1297da790a8d054b2cef4472a3b61c2d620d70f8 100644 (file)
@@ -1555,7 +1555,6 @@ void FullCodeGenerator::EmitAccessor(Expression* expression) {
 void FullCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) {
   Comment cmnt(masm_, "[ ObjectLiteral");
 
-  expr->BuildConstantProperties(isolate());
   Handle<FixedArray> constant_properties = expr->constant_properties();
   int flags = expr->ComputeFlags();
   // If any of the keys would store to the elements array, then we shouldn't