Mozilla Home
Privacy
Cookies
Legal
Bugzilla
Browse
Advanced Search
New Bug
Reports
Documentation
Log In
Log In with GitHub
or
Remember me
Browse
Advanced Search
New Bug
Reports
Documentation
Attachment 360214 Details for
Bug 463239
[patch]
Better, and it builds
trap.patch (text/plain), 924 bytes, created by
Brian Crowder
(
hide
)
Description:
Better, and it builds
Filename:
MIME Type:
Creator:
Brian Crowder
Size:
924 bytes
patch
obsolete
>exporting patch: ># HG changeset patch ># User Brian Crowder <crowder@fiverocks.com> ># Date 1233625426 28800 ># Node ID b87d0f2089b842eb7ddf5046ca6991dc9be2e72e ># Parent 24f491bd15dad4c432b5a5e9886acc8fc3d256d5 >Bug 463239 - JS_SetTrap alters code execution > >diff --git a/js/src/jsinterp.cpp b/js/src/jsinterp.cpp >--- a/js/src/jsinterp.cpp >+++ b/js/src/jsinterp.cpp >@@ -190,6 +190,8 @@ js_FillPropertyCache(JSContext *cx, JSOb > * opcode format flags. > */ > op = (JSOp) *pc; >+ if (op == JSOP_TRAP) >+ op = JS_GetTrapOpcode(cx, cx->fp->script, pc); > cs = &js_CodeSpec[op]; > > do { >@@ -319,6 +321,8 @@ js_FullTestPropertyCache(JSContext *cx, > < cx->fp->script->length); > > op = (JSOp) *pc; >+ if (op == JSOP_TRAP) >+ op = JS_GetTrapOpcode(cx, cx->fp->script, pc); > cs = &js_CodeSpec[op]; > if (op == JSOP_LENGTH) { > atom = cx->runtime->atomState.lengthAtom;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Flags:
brendan
: review-
Actions:
View
|
Diff
|
Review
Attachments on
bug 463239
:
359785
|
360206
|
360211
|
360214
|
361396
|
361537
|
361538
|
362633