Ignore:
Timestamp:
Sep 26, 2008, 3:43:16 PM (17 years ago)
Author:
[email protected]
Message:

2008-09-26 Geoffrey Garen <[email protected]>

Reviewed by Darin Adler.


Reverted the part of r36614 that used static data because static data
is not thread-safe.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/VM/ExceptionHelpers.cpp

    r36604 r36973  
    209209JSObject* createNotAnObjectError(ExecState* exec, JSNotAnObjectErrorStub* error, const Instruction* vPC, CodeBlock* codeBlock)
    210210{
    211     if (vPC[8].u.opcode == Machine::getOpcode(op_instanceof))
     211    if (vPC[8].u.opcode == exec->machine()->getOpcode(op_instanceof))
    212212        return createInvalidParamError(exec, "instanceof", error->isNull() ? jsNull() : jsUndefined(), vPC, codeBlock);
    213     if (vPC[8].u.opcode == Machine::getOpcode(op_construct))
     213    if (vPC[8].u.opcode == exec->machine()->getOpcode(op_construct))
    214214        return createNotAConstructorError(exec, error->isNull() ? jsNull() : jsUndefined(), vPC, codeBlock);
    215215
Note: See TracChangeset for help on using the changeset viewer.