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

Issue 6591075: Allow eval to be overridden with a callable non-function object. (Closed)

Created:
9 years, 9 months ago by Vitaly Repeshko
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Allow eval to be overridden with a callable non-function object. We simply need to remove early checks in the resolve eval runtime functions. CallFunctionStub that follows will handle non-functions in the right way. Committed: http://code.google.com/p/v8/source/detail?r=7005

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -8 lines) Patch
M src/runtime.cc View 2 chunks +2 lines, -8 lines 0 comments Download
A test/mjsunit/override-eval-with-non-function.js View 1 chunk +36 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Vitaly Repeshko
9 years, 9 months ago (2011-03-01 17:39:45 UTC) #1
Mads Ager (chromium)
9 years, 9 months ago (2011-03-01 18:46:08 UTC) #2
LGTM, nice and simple. :)

Powered by Google App Engine
This is Rietveld 408576698