Ignore:
Timestamp:
Nov 7, 2008, 1:22:41 AM (17 years ago)
Author:
[email protected]
Message:

2008-11-07 Cameron Zwarich <[email protected]>

Reviewed by Alexey Proskuryakov.

Rename the m_nextGlobal, m_nextParameter, and m_nextConstant member
variables of CodeGenerator to m_nextGlobalIndex, m_nextParameterIndex,
and m_nextConstantIndex respectively. This is to distinguish these from
member variables like m_lastConstant, which are actually RefPtrs to
Registers.

  • bytecompiler/CodeGenerator.cpp: (JSC::CodeGenerator::addGlobalVar): (JSC::CodeGenerator::allocateConstants): (JSC::CodeGenerator::CodeGenerator): (JSC::CodeGenerator::addParameter): (JSC::CodeGenerator::addConstant):
  • bytecompiler/CodeGenerator.h:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/bytecompiler/CodeGenerator.h

    r38205 r38219  
    426426        Vector<SwitchInfo> m_switchContextStack;
    427427
    428         int m_nextGlobal;
    429         int m_nextParameter;
    430         int m_nextConstant;
     428        int m_nextGlobalIndex;
     429        int m_nextParameterIndex;
     430        int m_nextConstantIndex;
    431431
    432432        int m_globalVarStorageOffset;
Note: See TracChangeset for help on using the changeset viewer.