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

Issue 1412953007: [Interpreter] Fill out function prologue 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@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[Interpreter] Fill out function prologue support. Fills out some more of the function prologue support in the interpreter. Deals with creation of arguments objects and throwing IllegalRedeclarations if necessary. Also adds (untested) support for this.function and new.target variable assignment. Also fixes a bug in Frames::is_java_script() to deal with interpreter frames correctly. Cleans up comments in builtins InterpreterEntryTrampoline about missing prologue support. Adds the following bytecodes: - CreateArgumentsSloppy - CreateArgumentsStrict BUG=v8:4280 LOG=N Committed: https://crrev.com/6256e1dcd5c45678b7fd03f7810283a303fd0ef5 Cr-Commit-Position: refs/heads/master@{#31486}

Patch Set 1 #

Total comments: 12

Patch Set 2 : Address review comments #

Patch Set 3 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+338 lines, -90 lines) Patch
M src/arm/builtins-arm.cc View 1 chunk +0 lines, -11 lines 0 comments Download
M src/arm64/builtins-arm64.cc View 1 chunk +0 lines, -11 lines 0 comments Download
M src/compiler/bytecode-graph-builder.cc View 1 1 chunk +12 lines, -0 lines 0 comments Download
M src/frames.h View 1 chunk +2 lines, -1 line 0 comments Download
M src/ia32/builtins-ia32.cc View 1 chunk +0 lines, -11 lines 0 comments Download
M src/interpreter/bytecode-array-builder.h View 1 3 chunks +8 lines, -0 lines 0 comments Download
M src/interpreter/bytecode-array-builder.cc View 1 2 chunks +26 lines, -0 lines 0 comments Download
M src/interpreter/bytecode-generator.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M src/interpreter/bytecode-generator.cc View 1 2 3 chunks +60 lines, -1 line 0 comments Download
M src/interpreter/bytecodes.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M src/interpreter/interpreter.cc View 1 1 chunk +24 lines, -0 lines 0 comments Download
M src/mips/builtins-mips.cc View 1 chunk +0 lines, -11 lines 0 comments Download
M src/mips64/builtins-mips64.cc View 1 chunk +0 lines, -11 lines 0 comments Download
M src/ppc/builtins-ppc.cc View 1 chunk +0 lines, -11 lines 0 comments Download
M src/x64/builtins-x64.cc View 1 chunk +0 lines, -11 lines 0 comments Download
M src/x87/builtins-x87.cc View 1 chunk +0 lines, -11 lines 0 comments Download
M test/cctest/interpreter/test-bytecode-generator.cc View 1 1 chunk +130 lines, -0 lines 0 comments Download
M test/cctest/interpreter/test-interpreter.cc View 1 1 chunk +65 lines, -0 lines 0 comments Download
M test/unittests/interpreter/bytecode-array-builder-unittest.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 15 (5 generated)
rmcilroy
Benedikt, Orion, PTAL, thanks.
5 years, 2 months ago (2015-10-21 08:57:13 UTC) #3
rmcilroy
+Michi
5 years, 2 months ago (2015-10-21 10:20:37 UTC) #5
oth
lgtm
5 years, 2 months ago (2015-10-21 15:22:41 UTC) #6
Michael Starzinger
LGTM. https://codereview.chromium.org/1412953007/diff/1/src/interpreter/bytecode-array-builder.h File src/interpreter/bytecode-array-builder.h (right): https://codereview.chromium.org/1412953007/diff/1/src/interpreter/bytecode-array-builder.h#newcode100 src/interpreter/bytecode-array-builder.h:100: // Create a new arguments object in the ...
5 years, 2 months ago (2015-10-21 18:42:18 UTC) #7
Michael Starzinger
https://codereview.chromium.org/1412953007/diff/1/src/interpreter/interpreter.cc File src/interpreter/interpreter.cc (right): https://codereview.chromium.org/1412953007/diff/1/src/interpreter/interpreter.cc#newcode911 src/interpreter/interpreter.cc:911: // CreateArgumentsSloppy <type> nit: Comment looks outdated, no <type> ...
5 years, 2 months ago (2015-10-21 18:44:37 UTC) #8
Benedikt Meurer
lgtm
5 years, 2 months ago (2015-10-22 04:57:09 UTC) #9
rmcilroy
https://codereview.chromium.org/1412953007/diff/1/src/interpreter/bytecode-array-builder.h File src/interpreter/bytecode-array-builder.h (right): https://codereview.chromium.org/1412953007/diff/1/src/interpreter/bytecode-array-builder.h#newcode100 src/interpreter/bytecode-array-builder.h:100: // Create a new arguments object in the accumulator, ...
5 years, 2 months ago (2015-10-22 15:19:52 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1412953007/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1412953007/40001
5 years, 2 months ago (2015-10-22 21:04:43 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 2 months ago (2015-10-22 21:41:55 UTC) #14
commit-bot: I haz the power
5 years, 2 months ago (2015-10-22 21:42:14 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/6256e1dcd5c45678b7fd03f7810283a303fd0ef5
Cr-Commit-Position: refs/heads/master@{#31486}

Powered by Google App Engine
This is Rietveld 408576698