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

Issue 111613003: Load the global proxy from the context of the target function. (Closed)

Created:
7 years ago by Toon Verwaest
Modified:
6 years, 11 months ago
Reviewers:
dcarney
CC:
v8-dev
Visibility:
Public.

Description

Load the global proxy from the context of the target function. BUG= R=dcarney@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=18458

Patch Set 1 #

Patch Set 2 : Add x64/arm #

Patch Set 3 : #

Patch Set 4 : hydrogen #

Total comments: 4

Patch Set 5 : comments addressed, ia32 added #

Patch Set 6 : arm #

Patch Set 7 : arm fixes #

Patch Set 8 : accessor test #

Patch Set 9 : don't embed global object or receiver in hydrogen #

Total comments: 3

Patch Set 10 : Fix contextual function proxy calls #

Patch Set 11 : Also fix bug on ARM. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+498 lines, -164 lines) Patch
M src/arm/builtins-arm.cc View 1 2 3 4 5 6 7 8 9 3 chunks +4 lines, -11 lines 0 comments Download
M src/arm/code-stubs-arm.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +35 lines, -19 lines 0 comments Download
M src/arm/full-codegen-arm.cc View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -4 lines 0 comments Download
M src/arm/ic-arm.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M src/arm/lithium-codegen-arm.cc View 1 2 3 4 5 6 7 8 9 2 chunks +5 lines, -5 lines 0 comments Download
M src/arm/stub-cache-arm.cc View 1 2 3 4 5 3 chunks +24 lines, -3 lines 0 comments Download
M src/bootstrapper.cc View 1 2 3 4 5 6 7 8 9 3 chunks +9 lines, -0 lines 0 comments Download
M src/code-stubs.h View 1 2 3 4 5 6 7 8 9 2 chunks +6 lines, -2 lines 0 comments Download
M src/hydrogen.h View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -0 lines 0 comments Download
M src/hydrogen.cc View 1 2 3 4 5 6 7 8 9 5 chunks +36 lines, -9 lines 0 comments Download
M src/hydrogen-instructions.h View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -2 lines 0 comments Download
M src/ia32/builtins-ia32.cc View 1 2 3 4 5 6 7 8 9 3 chunks +3 lines, -12 lines 0 comments Download
M src/ia32/code-stubs-ia32.cc View 1 2 3 4 5 6 7 8 9 1 chunk +34 lines, -17 lines 0 comments Download
M src/ia32/full-codegen-ia32.cc View 1 2 3 4 1 chunk +4 lines, -4 lines 0 comments Download
M src/ia32/ic-ia32.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M src/ia32/lithium-codegen-ia32.cc View 1 2 3 4 5 6 7 8 9 2 chunks +5 lines, -5 lines 0 comments Download
M src/ia32/lithium-ia32.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M src/ia32/stub-cache-ia32.cc View 1 2 3 4 3 chunks +24 lines, -3 lines 0 comments Download
M src/runtime.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M src/runtime.js View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M src/stub-cache.h View 1 2 3 4 1 chunk +5 lines, -1 line 0 comments Download
M src/stub-cache.cc View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -2 lines 0 comments Download
M src/v8globals.h View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -1 line 0 comments Download
M src/x64/builtins-x64.cc View 1 2 3 4 5 6 7 8 9 3 chunks +3 lines, -13 lines 0 comments Download
M src/x64/code-stubs-x64.cc View 1 2 3 4 5 6 7 8 9 2 chunks +33 lines, -16 lines 0 comments Download
M src/x64/full-codegen-x64.cc View 1 2 3 4 1 chunk +4 lines, -4 lines 0 comments Download
M src/x64/ic-x64.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M src/x64/lithium-codegen-x64.cc View 1 2 3 4 5 6 7 8 9 2 chunks +5 lines, -5 lines 0 comments Download
M src/x64/stub-cache-x64.cc View 1 2 3 4 3 chunks +23 lines, -3 lines 0 comments Download
M test/cctest/test-api.cc View 1 2 3 4 5 6 7 8 9 5 chunks +82 lines, -13 lines 0 comments Download
A test/mjsunit/contextual-calls.js View 1 2 3 1 chunk +103 lines, -0 lines 0 comments Download
M test/mjsunit/harmony/proxies-function.js View 1 2 3 4 5 6 7 8 9 3 chunks +30 lines, -4 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
dcarney
lgtm
7 years ago (2013-12-10 15:28:23 UTC) #1
dcarney
ptal hydrogen still needed as well as other arches
7 years ago (2013-12-16 13:44:27 UTC) #2
Toon Verwaest
https://codereview.chromium.org/111613003/diff/160001/src/bootstrapper.cc File src/bootstrapper.cc (right): https://codereview.chromium.org/111613003/diff/160001/src/bootstrapper.cc#newcode2613 src/bootstrapper.cc:2613: native_context()->global_proxy()); I think we should only be doing this ...
7 years ago (2013-12-18 13:09:33 UTC) #3
Toon Verwaest
lgtm
7 years ago (2013-12-18 15:05:40 UTC) #4
dcarney
Hey Toon, I hope you can land this before I get back. I've added a ...
6 years, 12 months ago (2013-12-26 13:35:52 UTC) #5
Toon Verwaest
PTAL again. Sorry for the rebase. I just modified code-stubs-<arch>.cc and test/mjsunit/harmony/proxies-function.js. Apparently passing "undefined_value" ...
6 years, 11 months ago (2014-01-03 17:56:26 UTC) #6
dcarney
> I decided to just fix it anyway. I discovered some bugs in this code ...
6 years, 11 months ago (2014-01-07 08:15:35 UTC) #7
Toon Verwaest
6 years, 11 months ago (2014-01-07 08:21:41 UTC) #8
Message was sent while issue was closed.
Committed patchset #11 manually as r18458 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698