Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(119)

Issue 10659011: Correctly throw reference error in strict mode with ICs disabled. (Closed)

Created:
8 years, 6 months ago by Yang
Modified:
8 years, 6 months ago
Reviewers:
Jakob Kummerow
CC:
v8-dev
Visibility:
Public.

Description

Correctly throw reference error in strict mode with ICs disabled. R=jkummerow@chromium.org BUG=v8:2119 TEST=regress/regress-2119.js Committed: https://code.google.com/p/v8/source/detail?r=11923

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -6 lines) Patch
M src/ic.cc View 1 chunk +4 lines, -3 lines 0 comments Download
A + test/mjsunit/regress/regress-2119.js View 1 chunk +7 lines, -3 lines 1 comment Download

Messages

Total messages: 2 (0 generated)
Yang
8 years, 6 months ago (2012-06-25 13:23:54 UTC) #1
Jakob Kummerow
8 years, 6 months ago (2012-06-25 13:26:43 UTC) #2
LGTM with nit.

https://chromiumcodereview.appspot.com/10659011/diff/1/test/mjsunit/regress/r...
File test/mjsunit/regress/regress-2119.js (right):

https://chromiumcodereview.appspot.com/10659011/diff/1/test/mjsunit/regress/r...
test/mjsunit/regress/regress-2119.js:28: // Flags: --nouse-ic --use-strict
I'd prefer to have the "use strict" magic string in the function instead of
passing in a flag.

Powered by Google App Engine
This is Rietveld 408576698