WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
42207
Clean up interface to compile executables, always check for exceptions.
https://bugs.webkit.org/show_bug.cgi?id=42207
Summary
Clean up interface to compile executables, always check for exceptions.
Gavin Barraclough
Reported
2010-07-13 15:33:18 PDT
Presently interface to compile executable is inconsistent between eval/program and function code, and is error prone in allowing a caller to byte compile without JIT compiling an executable (we rely on all executables with codeblocks having JIT code). Unify on an interface where all compilation is performed by a single compile (with ForCall|ForConstruct variants) method, and make all clients check for errors.
Attachments
The patch
(50.78 KB, patch)
2010-07-13 15:36 PDT
,
Gavin Barraclough
oliver
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Gavin Barraclough
Comment 1
2010-07-13 15:36:21 PDT
Created
attachment 61423
[details]
The patch
WebKit Review Bot
Comment 2
2010-07-13 15:40:30 PDT
Attachment 61423
[details]
did not pass style-queue: Failed to run "['WebKitTools/Scripts/check-webkit-style']" exit_code: 1 JavaScriptCore/runtime/Executable.cpp:144: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] JavaScriptCore/interpreter/Interpreter.cpp:3713: vm_throw is incorrectly named. Don't use underscores in your identifier names. [readability/naming] [4] JavaScriptCore/interpreter/Interpreter.cpp:3874: vm_throw is incorrectly named. Don't use underscores in your identifier names. [readability/naming] [4] JavaScriptCore/interpreter/Interpreter.cpp:4202: vm_throw is incorrectly named. Don't use underscores in your identifier names. [readability/naming] [4] Total errors found: 4 in 12 files If any of these errors are false positives, please file a bug against check-webkit-style.
Oliver Hunt
Comment 3
2010-07-13 15:52:14 PDT
Comment on
attachment 61423
[details]
The patch verify this works with the interpreter enabled before landing. including the jit+interpreter mode :D
Gavin Barraclough
Comment 4
2010-07-13 17:27:56 PDT
fixed in
r63267
, tested working in interpreter & JIT, could not get interpreter+JIT to work on the baseline.
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