mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Fix warnings, no bug. r=dvander
This commit is contained in:
parent
43d0cd88c2
commit
d11ecace5f
@ -697,7 +697,7 @@ stubs::ScriptProbeOnlyEpilogue(VMFrame &f)
|
||||
void JS_FASTCALL
|
||||
stubs::CrossChunkShim(VMFrame &f, void *edge_)
|
||||
{
|
||||
CrossChunkEdge *edge = (CrossChunkEdge *) edge_;
|
||||
DebugOnly<CrossChunkEdge*> edge = (CrossChunkEdge *) edge_;
|
||||
|
||||
mjit::ExpandInlineFrames(f.cx->compartment);
|
||||
|
||||
|
@ -749,6 +749,8 @@ struct ChunkDescriptor
|
||||
|
||||
/* Optional compiled code for the chunk. */
|
||||
JITChunk *chunk;
|
||||
|
||||
ChunkDescriptor() { PodZero(this); }
|
||||
};
|
||||
|
||||
/* Jump or fallthrough edge in the bytecode which crosses a chunk boundary. */
|
||||
@ -775,6 +777,8 @@ struct CrossChunkEdge
|
||||
* the source is compiled but not the target.
|
||||
*/
|
||||
void *shimLabel;
|
||||
|
||||
CrossChunkEdge() { PodZero(this); }
|
||||
};
|
||||
|
||||
struct JITScript
|
||||
|
@ -1569,7 +1569,7 @@ stubs::TableSwitch(VMFrame &f, jsbytecode *origPc)
|
||||
{
|
||||
jsbytecode * const originalPC = origPc;
|
||||
|
||||
JSOp op = JSOp(*originalPC);
|
||||
DebugOnly<JSOp> op = JSOp(*originalPC);
|
||||
JS_ASSERT(op == JSOP_TABLESWITCH);
|
||||
|
||||
uint32_t jumpOffset = GET_JUMP_OFFSET(originalPC);
|
||||
|
Loading…
Reference in New Issue
Block a user