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

Issue 1396693003: [Interpreter] Add function literal support. (Closed)

Created:
5 years, 2 months ago by rmcilroy
Modified:
5 years, 2 months ago
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@int_newcontext
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[Interpreter] Add function literal support. Adds function literal support and add support for OTHER_CALLS which can be made when calling a function literal. Adds the CreateClosure bytecode. BUG=v8:4280 LOG=N Committed: https://crrev.com/66e593733742cd929df02597573d92a4f7bca353 Cr-Commit-Position: refs/heads/master@{#31231}

Patch Set 1 #

Patch Set 2 : Make CreateClosure a bytecode #

Total comments: 10

Patch Set 3 : Review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+145 lines, -3 lines) Patch
M src/compiler/bytecode-graph-builder.cc View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M src/interpreter/bytecode-array-builder.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M src/interpreter/bytecode-array-builder.cc View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M src/interpreter/bytecode-generator.cc View 1 2 2 chunks +14 lines, -2 lines 0 comments Download
M src/interpreter/bytecodes.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M src/interpreter/interpreter.cc View 1 2 1 chunk +17 lines, -0 lines 0 comments Download
M src/runtime/runtime.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M src/runtime/runtime-interpreter.cc View 1 1 chunk +10 lines, -0 lines 0 comments Download
M test/cctest/interpreter/test-bytecode-generator.cc View 1 2 2 chunks +62 lines, -0 lines 0 comments Download
M test/cctest/interpreter/test-interpreter.cc View 1 2 1 chunk +17 lines, -0 lines 0 comments Download
M test/unittests/interpreter/bytecode-array-builder-unittest.cc View 1 2 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (9 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1396693003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1396693003/1
5 years, 2 months ago (2015-10-08 14:34:17 UTC) #2
rmcilroy
Orion, Camillo, could you please take a look, thanks.
5 years, 2 months ago (2015-10-08 14:35:12 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-10-08 14:58:07 UTC) #6
oth
lgtm. Reservations discussed offline as to whether there should be a separate bytecode or not. ...
5 years, 2 months ago (2015-10-09 10:54:21 UTC) #7
rmcilroy
> Reservations discussed offline as to whether there should be a separate bytecode > or ...
5 years, 2 months ago (2015-10-09 12:37:22 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1396693003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1396693003/20001
5 years, 2 months ago (2015-10-09 12:42:09 UTC) #11
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-10-09 13:04:08 UTC) #13
Michael Starzinger
LGTM. Just nits and random ramblings. https://codereview.chromium.org/1396693003/diff/20001/src/interpreter/bytecode-generator.cc File src/interpreter/bytecode-generator.cc (right): https://codereview.chromium.org/1396693003/diff/20001/src/interpreter/bytecode-generator.cc#newcode451 src/interpreter/bytecode-generator.cc:451: CHECK(!shared_info.is_null()); // TODO(rmcilroy): ...
5 years, 2 months ago (2015-10-09 13:19:00 UTC) #14
Michael Starzinger
https://codereview.chromium.org/1396693003/diff/20001/src/interpreter/bytecode-generator.cc File src/interpreter/bytecode-generator.cc (right): https://codereview.chromium.org/1396693003/diff/20001/src/interpreter/bytecode-generator.cc#newcode743 src/interpreter/bytecode-generator.cc:743: builder()->LoadUndefined().StoreAccumulatorInRegister(receiver); On 2015/10/09 13:19:00, Michael Starzinger wrote: > nit: ...
5 years, 2 months ago (2015-10-09 13:28:01 UTC) #15
oth
On 2015/10/09 12:37:22, rmcilroy wrote: > > Reservations discussed offline as to whether there should ...
5 years, 2 months ago (2015-10-11 21:27:13 UTC) #16
Camillo Bruni
LGTM Not much to contribute yet, but I'm happy to be in the loop :)
5 years, 2 months ago (2015-10-12 07:43:50 UTC) #17
rmcilroy
https://codereview.chromium.org/1396693003/diff/20001/src/interpreter/bytecode-generator.cc File src/interpreter/bytecode-generator.cc (right): https://codereview.chromium.org/1396693003/diff/20001/src/interpreter/bytecode-generator.cc#newcode451 src/interpreter/bytecode-generator.cc:451: CHECK(!shared_info.is_null()); // TODO(rmcilroy): Set stack overflow? On 2015/10/09 13:19:00, ...
5 years, 2 months ago (2015-10-12 17:00:15 UTC) #18
Michael Starzinger
https://codereview.chromium.org/1396693003/diff/20001/test/cctest/interpreter/test-bytecode-generator.cc File test/cctest/interpreter/test-bytecode-generator.cc (right): https://codereview.chromium.org/1396693003/diff/20001/test/cctest/interpreter/test-bytecode-generator.cc#newcode124 test/cctest/interpreter/test-bytecode-generator.cc:124: static void CheckConstant(InstanceType expected, Object* actual) { On 2015/10/12 ...
5 years, 2 months ago (2015-10-13 07:56:14 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1396693003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1396693003/60001
5 years, 2 months ago (2015-10-13 09:12:30 UTC) #23
commit-bot: I haz the power
Committed patchset #3 (id:60001)
5 years, 2 months ago (2015-10-13 09:39:58 UTC) #24
commit-bot: I haz the power
5 years, 2 months ago (2015-10-13 09:40:15 UTC) #25
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/66e593733742cd929df02597573d92a4f7bca353
Cr-Commit-Position: refs/heads/master@{#31231}

Powered by Google App Engine
This is Rietveld 408576698