New issue
Advanced search Search tips

Issue 664087 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Jan 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug

Blocking:
issue 662423



Sign in to add a comment

Difference between fullcode and crankshaft_opt: Missing reference error with valueOf

Project Member Reported by machenb...@chromium.org, Nov 10 2016

Issue description

Maybe similar to  issue 662861 ?

# Minimized program:
function foo() {
  var v = { valueOf: function() { return boom++; } };
  v++;
}
foo();


# Compared fullcode with noturbo_opt

# Flags of fullcode:
--abort_on_stack_overflow --expose-gc --allow-natives-syntax --invoke-weak-callbacks --omit-quit  --random-seed -1632457604 --nocrankshaft --turbo-filter=~
# Flags of noturbo_opt:
--abort_on_stack_overflow --expose-gc --allow-natives-syntax --invoke-weak-callbacks --omit-quit  --random-seed -1632457604 --always-opt --turbo-filter=~ --noturbo-asm

Difference:
- output15_noturbo_opt/fuzz-69147.js.minimized:2: ReferenceError: boom is not defined

### Start of configuration fullcode:
output15_noturbo_opt/fuzz-69147.js.minimized:2: ReferenceError: boom is not defined
  var v = { valueOf: function() { return boom++; } };
                                         ^
ReferenceError: boom is not defined
    at Object.valueOf (output15_noturbo_opt/fuzz-69147.js.minimized:2:42)
    at foo (output15_noturbo_opt/fuzz-69147.js.minimized:3:3)
    at output15_noturbo_opt/fuzz-69147.js.minimized:5:1


### End of configuration fullcode

### Start of configuration noturbo_opt:

### End of configuration noturbo_opt

 
Labels: -Restrict-View-Google v8-foozzie-failure
Owner: jarin@chromium.org
Status: Assigned (was: Untriaged)
Is this fixed?

Comment 4 by jarin@chromium.org, Jan 27 2017

It should be.

Comment 5 by jarin@chromium.org, Jan 27 2017

Status: Fixed (was: Assigned)

Sign in to add a comment