WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
112136
[V8] Move the GetRawTemplate and HasInstance logic from generated bindings to V8PerIsolateData
https://bugs.webkit.org/show_bug.cgi?id=112136
Summary
[V8] Move the GetRawTemplate and HasInstance logic from generated bindings to...
Marja Hölttä
Reported
2013-03-12 05:16:12 PDT
When templates for main world and non-main worlds will be separated, HasInstance logic will be a bit ugly: We cannot determine the world type on the fly, because during GC there is no entered context, and HasInstance is called during GC. So we need to check against templates from all the worlds. It's cleaner if that logic is in V8PerIsolateData.
Attachments
Patch
(72.97 KB, patch)
2013-03-12 05:25 PDT
,
Marja Hölttä
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Marja Hölttä
Comment 1
2013-03-12 05:25:29 PDT
Created
attachment 192715
[details]
Patch
Kentaro Hara
Comment 2
2013-03-12 05:31:28 PDT
Comment on
attachment 192715
[details]
Patch It's anyway a good idea to factor out duplicated logic from auto-generated code to V8Binding.cpp.
WebKit Review Bot
Comment 3
2013-03-12 06:04:20 PDT
Comment on
attachment 192715
[details]
Patch Clearing flags on attachment: 192715 Committed
r145538
: <
http://trac.webkit.org/changeset/145538
>
WebKit Review Bot
Comment 4
2013-03-12 06:04:25 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug