Ignore:
Timestamp:
Jan 7, 2015, 10:20:00 PM (10 years ago)
Author:
[email protected]
Message:

Add the lexicalEnvironment as an operand to op_get_argument_by_val.
<https://webkit.org/b/140233>

Reviewed by Filip Pizlo.

This patch only adds the operand to the bytecode. It is not in use yet.

  • bytecode/BytecodeList.json:
  • bytecode/BytecodeUseDef.h:

(JSC::computeUsesForBytecodeOffset):

  • bytecode/CodeBlock.cpp:

(JSC::CodeBlock::dumpBytecode):

  • bytecompiler/BytecodeGenerator.cpp:

(JSC::BytecodeGenerator::emitGetArgumentByVal):

  • llint/LowLevelInterpreter32_64.asm:
  • llint/LowLevelInterpreter64.asm:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/bytecode/CodeBlock.cpp

    r178008 r178106  
    11171117            int r1 = (++it)->u.operand;
    11181118            int r2 = (++it)->u.operand;
     1119            int r3 = (++it)->u.operand;
    11191120            printLocationAndOp(out, exec, location, it, "get_argument_by_val");
    1120             out.printf("%s, %s, %s", registerName(r0).data(), registerName(r1).data(), registerName(r2).data());
     1121            out.printf("%s, %s, %s, %s", registerName(r0).data(), registerName(r1).data(), registerName(r2).data(), registerName(r3).data());
    11211122            ++it;
    11221123            dumpValueProfiling(out, it, hasPrintedProfiling);
Note: See TracChangeset for help on using the changeset viewer.