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

Issue 1423723002: Map v8::Function to JSReceiver + IsCallable (Closed)

Created:
5 years, 2 months ago by jochen (gone - plz use gerrit)
Modified:
5 years, 2 months ago
CC:
v8-reviews_googlegroups.com, Yang
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Map v8::Function to JSReceiver + IsCallable BUG=none LOG=y R=verwaest@chromium.org,bmeurer@chromium.org,rossberg@chromium.org CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_chromium_rel_ng Committed: https://crrev.com/5587656155b1f7d6eff7894c39d89246cf84b94a Cr-Commit-Position: refs/heads/master@{#31519}

Patch Set 1 #

Total comments: 3

Patch Set 2 : updates #

Patch Set 3 : updates #

Unified diffs Side-by-side diffs Delta from patch set Stats (+227 lines, -211 lines) Patch
M src/api.h View 5 chunks +4 lines, -4 lines 0 comments Download
M src/api.cc View 13 chunks +58 lines, -20 lines 0 comments Download
M src/debug/debug.h View 1 chunk +1 line, -1 line 0 comments Download
M src/debug/debug.cc View 1 2 5 chunks +5 lines, -5 lines 0 comments Download
M src/execution.h View 1 1 chunk +1 line, -1 line 0 comments Download
M src/execution.cc View 1 3 chunks +4 lines, -4 lines 0 comments Download
M src/factory.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M src/full-codegen/full-codegen.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M src/isolate.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M src/messages.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M src/objects.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M test/cctest/compiler/function-tester.h View 1 chunk +2 lines, -2 lines 0 comments Download
M test/cctest/compiler/test-linkage.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M test/cctest/compiler/test-pipeline.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M test/cctest/compiler/test-run-bytecode-graph-builder.cc View 1 chunk +2 lines, -1 line 0 comments Download
M test/cctest/compiler/test-run-jscalls.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M test/cctest/interpreter/test-bytecode-generator.cc View 1 chunk +2 lines, -1 line 0 comments Download
M test/cctest/interpreter/test-interpreter.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M test/cctest/test-alloc.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/test-api.cc View 4 chunks +9 lines, -8 lines 0 comments Download
M test/cctest/test-compiler.cc View 8 chunks +31 lines, -26 lines 0 comments Download
M test/cctest/test-cpu-profiler.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M test/cctest/test-debug.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M test/cctest/test-deoptimization.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/test-feedback-vector.cc View 6 chunks +12 lines, -12 lines 0 comments Download
M test/cctest/test-heap.cc View 25 chunks +54 lines, -90 lines 0 comments Download
M test/cctest/test-profile-generator.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M test/cctest/test-serialize.cc View 1 chunk +5 lines, -2 lines 0 comments Download
M test/cctest/test-thread-termination.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 15 (5 generated)
jochen (gone - plz use gerrit)
ptal Toon, review everything Benedikt/Andreas, fyi esp. tests still assume that everything is functions... but ...
5 years, 2 months ago (2015-10-23 09:26:32 UTC) #1
rossberg
Looks good, although I really think we should have a JSCallable type to make this ...
5 years, 2 months ago (2015-10-23 10:45:45 UTC) #2
jochen (gone - plz use gerrit)
On 2015/10/23 at 10:45:45, rossberg wrote: > Looks good, although I really think we should ...
5 years, 2 months ago (2015-10-23 10:46:39 UTC) #3
jochen (gone - plz use gerrit)
btw, once e.g. Function.bind() creates something that's not an JSFunction, Function::GetBoundFunction needs to be updated ...
5 years, 2 months ago (2015-10-23 10:54:17 UTC) #4
Toon Verwaest
lgtm with 2 nits https://codereview.chromium.org/1423723002/diff/1/src/debug/debug.cc File src/debug/debug.cc (right): https://codereview.chromium.org/1423723002/diff/1/src/debug/debug.cc#newcode2422 src/debug/debug.cc:2422: isolate, Handle<JSFunction>::cast(fun), event_data_, 0, NULL); ...
5 years, 2 months ago (2015-10-23 11:06:34 UTC) #5
Benedikt Meurer
I agree with Andreas we should have an internal JSCallable (soonish). Otherwise LGTM from my ...
5 years, 2 months ago (2015-10-23 11:12:56 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1423723002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1423723002/40001
5 years, 2 months ago (2015-10-23 11:15:58 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1423723002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1423723002/40001
5 years, 2 months ago (2015-10-23 11:30:02 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 2 months ago (2015-10-23 12:26:54 UTC) #14
commit-bot: I haz the power
5 years, 2 months ago (2015-10-23 12:27:18 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/5587656155b1f7d6eff7894c39d89246cf84b94a
Cr-Commit-Position: refs/heads/master@{#31519}

Powered by Google App Engine
This is Rietveld 408576698