Changeset 215779 in webkit for trunk/Source/JavaScriptCore/jit


Ignore:
Timestamp:
Apr 25, 2017, 5:57:59 PM (8 years ago)
Author:
[email protected]
Message:

Unreviewed, rolling out r215476.
https://bugs.webkit.org/show_bug.cgi?id=171304

"It broke JSBench" (Requested by saamyjoon on #webkit).

Reverted changeset:

"[ES6]. Implement Annex B.3.3 function hoisting rules for
eval"
https://bugs.webkit.org/show_bug.cgi?id=163208
http://trac.webkit.org/changeset/215476

Location:
trunk/Source/JavaScriptCore/jit
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/jit/JIT.cpp

    r215476 r215779  
    393393
    394394        DEFINE_OP(op_resolve_scope)
    395         DEFINE_OP(op_resolve_scope_for_hoisting_func_decl_in_eval)
    396395        DEFINE_OP(op_get_from_scope)
    397396        DEFINE_OP(op_put_to_scope)
  • trunk/Source/JavaScriptCore/jit/JIT.h

    r215476 r215779  
    666666
    667667        void emit_op_resolve_scope(Instruction*);
    668         void emit_op_resolve_scope_for_hoisting_func_decl_in_eval(Instruction*);
    669668        void emit_op_get_from_scope(Instruction*);
    670669        void emit_op_put_to_scope(Instruction*);
  • trunk/Source/JavaScriptCore/jit/JITOperations.h

    r215565 r215779  
    154154typedef EncodedJSValue (JIT_OPERATION *J_JITOperation_EJJMic)(ExecState*, EncodedJSValue, EncodedJSValue, void*);
    155155typedef EncodedJSValue (JIT_OPERATION *J_JITOperation_EJMic)(ExecState*, EncodedJSValue, void*);
    156 typedef EncodedJSValue (JIT_OPERATION *J_JITOperation_EJscI)(ExecState*, JSScope*, UniquedStringImpl*);
    157156typedef EncodedJSValue (JIT_OPERATION *J_JITOperation_EJssZ)(ExecState*, JSString*, int32_t);
    158157typedef EncodedJSValue (JIT_OPERATION *J_JITOperation_EJss)(ExecState*, JSString*);
     
    234233typedef int32_t (JIT_OPERATION *Z_JITOperation_EOI)(ExecState*, JSObject*, UniquedStringImpl*);
    235234typedef int32_t (JIT_OPERATION *Z_JITOperation_EOJ)(ExecState*, JSObject*, EncodedJSValue);
    236 typedef size_t (JIT_OPERATION *S_JITOperation_EO)(ExecState*, JSObject*);
    237235typedef size_t (JIT_OPERATION *S_JITOperation_ECC)(ExecState*, JSCell*, JSCell*);
    238236typedef size_t (JIT_OPERATION *S_JITOperation_EGC)(ExecState*, JSGlobalObject*, JSCell*);
  • trunk/Source/JavaScriptCore/jit/JITPropertyAccess.cpp

    r215476 r215779  
    763763        loadPtr(Address(regT0, JSScope::offsetOfNext()), regT0);
    764764    emitPutVirtualRegister(dst);
    765 }
    766 
    767 void JIT::emit_op_resolve_scope_for_hoisting_func_decl_in_eval(Instruction* currentInstruction)
    768 {
    769     JITSlowPathCall slowPathCall(this, currentInstruction, slow_path_resolve_scope_for_hoisting_func_decl_in_eval);
    770     slowPathCall.call();
    771765}
    772766
  • trunk/Source/JavaScriptCore/jit/JITPropertyAccess32_64.cpp

    r215476 r215779  
    772772}
    773773
    774 void JIT::emit_op_resolve_scope_for_hoisting_func_decl_in_eval(Instruction* currentInstruction)
    775 {
    776     JITSlowPathCall slowPathCall(this, currentInstruction, slow_path_resolve_scope_for_hoisting_func_decl_in_eval);
    777     slowPathCall.call();
    778 }
    779    
    780774void JIT::emit_op_resolve_scope(Instruction* currentInstruction)
    781775{
Note: See TracChangeset for help on using the changeset viewer.