Changeset 229478 in webkit


Ignore:
Timestamp:
Mar 9, 2018, 1:04:03 PM (7 years ago)
Author:
mark.lam@apple.com
Message:

Remove unused LLINT_STATS feature.
https://bugs.webkit.org/show_bug.cgi?id=183522
<rdar://problem/38313139>

Rubber-stamped by Keith Miller.

We haven't used this in a while, and it is one more option that makes offlineasm
build slower. We can always re-introduce this later if we need it.

  • jsc.cpp:
  • llint/LLIntCommon.h:
  • llint/LLIntData.cpp:

(JSC::LLInt::initialize):
(JSC::LLInt::Data::finalizeStats): Deleted.
(JSC::LLInt::compareStats): Deleted.
(JSC::LLInt::Data::dumpStats): Deleted.
(JSC::LLInt::Data::ensureStats): Deleted.
(JSC::LLInt::Data::loadStats): Deleted.
(JSC::LLInt::Data::resetStats): Deleted.
(JSC::LLInt::Data::saveStats): Deleted.

  • llint/LLIntData.h:

(): Deleted.
(JSC::LLInt::Data::opcodeStats): Deleted.

  • llint/LLIntOfflineAsmConfig.h:
  • llint/LLIntSlowPaths.cpp:
  • llint/LLIntSlowPaths.h:
  • llint/LowLevelInterpreter.asm:
  • llint/LowLevelInterpreter32_64.asm:
  • llint/LowLevelInterpreter64.asm:
  • runtime/Options.cpp:

(JSC::Options::isAvailable):
(JSC::recomputeDependentOptions):

  • runtime/Options.h:
  • runtime/TestRunnerUtils.cpp:

(JSC::finalizeStatsAtEndOfTesting):

Location:
trunk/Source/JavaScriptCore
Files:
14 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r229476 r229478  
     12018-03-09  Mark Lam  <mark.lam@apple.com>
     2
     3        Remove unused LLINT_STATS feature.
     4        https://bugs.webkit.org/show_bug.cgi?id=183522
     5        <rdar://problem/38313139>
     6
     7        Rubber-stamped by Keith Miller.
     8
     9        We haven't used this in a while, and it is one more option that makes offlineasm
     10        build slower.  We can always re-introduce this later if we need it.
     11
     12        * jsc.cpp:
     13        * llint/LLIntCommon.h:
     14        * llint/LLIntData.cpp:
     15        (JSC::LLInt::initialize):
     16        (JSC::LLInt::Data::finalizeStats): Deleted.
     17        (JSC::LLInt::compareStats): Deleted.
     18        (JSC::LLInt::Data::dumpStats): Deleted.
     19        (JSC::LLInt::Data::ensureStats): Deleted.
     20        (JSC::LLInt::Data::loadStats): Deleted.
     21        (JSC::LLInt::Data::resetStats): Deleted.
     22        (JSC::LLInt::Data::saveStats): Deleted.
     23        * llint/LLIntData.h:
     24        (): Deleted.
     25        (JSC::LLInt::Data::opcodeStats): Deleted.
     26        * llint/LLIntOfflineAsmConfig.h:
     27        * llint/LLIntSlowPaths.cpp:
     28        * llint/LLIntSlowPaths.h:
     29        * llint/LowLevelInterpreter.asm:
     30        * llint/LowLevelInterpreter32_64.asm:
     31        * llint/LowLevelInterpreter64.asm:
     32        * runtime/Options.cpp:
     33        (JSC::Options::isAvailable):
     34        (JSC::recomputeDependentOptions):
     35        * runtime/Options.h:
     36        * runtime/TestRunnerUtils.cpp:
     37        (JSC::finalizeStatsAtEndOfTesting):
     38
    1392018-03-09  Michael Saboff  <msaboff@apple.com>
    240
  • trunk/Source/JavaScriptCore/jsc.cpp

    r229410 r229478  
    5555#include "JSWebAssemblyInstance.h"
    5656#include "JSWebAssemblyMemory.h"
    57 #include "LLIntData.h"
    5857#include "LLIntThunks.h"
    5958#include "ObjectConstructor.h"
  • trunk/Source/JavaScriptCore/llint/LLIntCommon.h

    r206525 r229478  
    2626#pragma once
    2727
    28 // Enables LLINT stats collection.
    29 #define ENABLE_LLINT_STATS 0
    30 
    3128// Print every instruction executed.
    3229#define LLINT_EXECUTION_TRACING 0
  • trunk/Source/JavaScriptCore/llint/LLIntData.cpp

    r229447 r229478  
    11/*
    2  * Copyright (C) 2011, 2016 Apple Inc. All rights reserved.
     2 * Copyright (C) 2011-2018 Apple Inc. All rights reserved.
    33 *
    44 * Redistribution and use in source and binary forms, with or without
     
    3131#include "CodeBlock.h"
    3232#include "CodeType.h"
    33 #include "InitializeThreading.h"
    3433#include "Instruction.h"
    3534#include "JSScope.h"
    3635#include "LLIntCLoop.h"
    37 #include "LLIntCommon.h"
    3836#include "MaxFrameExtentForSlowPathCall.h"
    3937#include "Opcode.h"
     
    4139#include "ShadowChicken.h"
    4240#include "WriteBarrier.h"
    43 #include <string>
    44 #include <wtf/NeverDestroyed.h>
    4541
    4642#define STATIC_ASSERT(cond) static_assert(cond, "LLInt assumes " #cond)
     
    5046Instruction Data::s_exceptionInstructions[maxOpcodeLength + 1] = { };
    5147Opcode Data::s_opcodeMap[numOpcodeIDs] = { };
    52 OpcodeStatsArray* Data::s_opcodeStatsArray = nullptr;
    5348
    5449#if ENABLE(JIT)
     
    6863            LLInt::getCodePtr(llint_throw_from_slow_path_trampoline);
    6964#endif // ENABLE(JIT)
    70 
    71 #if ENABLE(LLINT_STATS)
    72     Data::ensureStats();
    73 #endif
    7465}
    7566
     
    210201#endif
    211202
    212 void Data::finalizeStats()
    213 {
    214 #if ENABLE(LLINT_STATS)
    215     if (!Options::reportLLIntStats())
    216         return;
    217    
    218     if (Options::llintStatsFile())
    219         saveStats();
    220    
    221     dumpStats();
    222 #endif
    223 }
    224 
    225 #if ENABLE(LLINT_STATS)
    226 namespace LLIntDataInternal {
    227 static const bool verboseStats = false;
    228 }
    229 
    230 static bool compareStats(const OpcodeStats& a, const OpcodeStats& b)
    231 {
    232     if (a.count > b.count)
    233         return true;
    234     if (a.count < b.count)
    235         return false;
    236     return a.slowPathCount > b.slowPathCount;
    237 }
    238 
    239 void Data::dumpStats()
    240 {
    241     ASSERT(Options::reportLLIntStats());
    242     auto statsCopy = *s_opcodeStatsArray;
    243     std::sort(statsCopy.begin(), statsCopy.end(), compareStats);
    244 
    245     dataLog("Opcode stats:\n");
    246     unsigned i = 0;
    247     for (auto& stats : statsCopy) {
    248         if (stats.count || stats.slowPathCount)
    249             dataLog("   [", i++, "]: fast:", stats.count, " slow:", stats.slowPathCount, " ", opcodeNames[stats.id], "\n");
    250     }
    251 }
    252 
    253 void Data::ensureStats()
    254 {
    255     static std::once_flag initializeOptionsOnceFlag;
    256     std::call_once(initializeOptionsOnceFlag, [] {
    257         s_opcodeStatsArray = new OpcodeStatsArray();
    258         resetStats();
    259     });
    260 }
    261 
    262 void Data::loadStats()
    263 {
    264     static NeverDestroyed<std::string> installedStatsFile;
    265     if (!Options::llintStatsFile() || !installedStatsFile.get().compare(Options::llintStatsFile()))
    266         return;
    267 
    268     Options::reportLLIntStats() = true; // Force stats collection.
    269     installedStatsFile.get() = Options::llintStatsFile();
    270 
    271     ensureStats();
    272 
    273     const char* filename = Options::llintStatsFile();
    274     FILE* file = fopen(filename, "r");
    275     if (!file) {
    276         dataLogF("Failed to open file %s. Did you add the file-read-write-data entitlement to WebProcess.sb?\n", filename);
    277         return;
    278     }
    279 
    280     resetStats();
    281 
    282     OpcodeStats loaded;
    283     unsigned index;
    284     char opcodeName[100];
    285     while (fscanf(file, "[%u]: fast:%zu slow:%zu id:%u %s\n", &index, &loaded.count, &loaded.slowPathCount, &loaded.id, opcodeName) != EOF) {
    286         if (LLIntDataInternal::verboseStats)
    287             dataLogF("loaded [%u]: fast %zu slow %zu id:%u %s\n", index, loaded.count, loaded.slowPathCount, loaded.id, opcodeName);
    288 
    289         OpcodeStats& stats = opcodeStats(loaded.id);
    290         stats.count = loaded.count;
    291         stats.slowPathCount = loaded.slowPathCount;
    292     }
    293 
    294     if (LLIntDataInternal::verboseStats) {
    295         dataLogF("After loading from %s, ", filename);
    296         dumpStats();
    297     }
    298 
    299     int result = fclose(file);
    300     if (result)
    301         dataLogF("Failed to close file %s: %s\n", filename, strerror(errno));
    302 }
    303 
    304 void Data::resetStats()
    305 {
    306     unsigned i = 0;
    307     for (auto& stats : *s_opcodeStatsArray) {
    308         stats.id = static_cast<OpcodeID>(i++);
    309         stats.count = 0;
    310         stats.slowPathCount = 0;
    311     }
    312 }
    313 
    314 void Data::saveStats()
    315 {
    316     ASSERT(Options::reportLLIntStats() && Options::llintStatsFile());
    317     const char* filename = Options::llintStatsFile();
    318 
    319     FILE* file = fopen(filename, "w");
    320     if (!file) {
    321         dataLogF("Failed to open file %s. Did you add the file-read-write-data entitlement to WebProcess.sb?\n", filename);
    322         return;
    323     }
    324 
    325     auto statsCopy = *s_opcodeStatsArray;
    326     std::sort(statsCopy.begin(), statsCopy.end(), compareStats);
    327 
    328     int index = 0;
    329     for (auto& stats : statsCopy) {
    330         if (!stats.count && !stats.slowPathCount)
    331             break; // stats are sorted. If we encountered 0 counts, then there are no more non-zero counts.
    332 
    333         if (LLIntDataInternal::verboseStats)
    334             dataLogF("saved [%u]: fast:%zu slow:%zu id:%u %s\n", index, stats.count, stats.slowPathCount, stats.id, opcodeNames[stats.id]);
    335 
    336         fprintf(file, "[%u]: fast:%zu slow:%zu id:%u %s\n", index, stats.count, stats.slowPathCount, stats.id, opcodeNames[stats.id]);
    337         index++;
    338     }
    339 
    340     int result = fclose(file);
    341     if (result)
    342         dataLogF("Failed to close file %s: %s\n", filename, strerror(errno));
    343 }
    344 #endif
    345 
    346203} } // namespace JSC::LLInt
  • trunk/Source/JavaScriptCore/llint/LLIntData.h

    r229447 r229478  
    2828#include "JSCJSValue.h"
    2929#include "Opcode.h"
    30 #include <array>
    3130#include <wtf/PointerPreparations.h>
    3231
     
    4443namespace LLInt {
    4544
    46 struct OpcodeStats {
    47     OpcodeID id;
    48     size_t count { 0 };
    49     size_t slowPathCount { 0 };
    50 };
    51 typedef std::array<OpcodeStats, numOpcodeIDs> OpcodeStatsArray;
    52 
    5345class Data {
    5446public:
    55 
    5647    static void performAssertions(VM&);
    57     static OpcodeStats& opcodeStats(OpcodeID id) { return (*s_opcodeStatsArray)[id]; }
    58 
    59     JS_EXPORT_PRIVATE static void finalizeStats();
    60 
    61     static void dumpStats();
    62     static void loadStats();
    6348
    6449private:
    65     static void ensureStats();
    66     static void resetStats();
    67     static void saveStats();
    68 
    6950    static Instruction s_exceptionInstructions[maxOpcodeLength + 1];
    7051    static Opcode s_opcodeMap[numOpcodeIDs];
    71     static OpcodeStatsArray* s_opcodeStatsArray;
    7252
    7353    friend void initialize();
  • trunk/Source/JavaScriptCore/llint/LLIntOfflineAsmConfig.h

    r229447 r229478  
    162162#endif
    163163
    164 #if ENABLE(LLINT_STATS)
    165 #define OFFLINE_ASM_COLLECT_STATS 1
    166 #else
    167 #define OFFLINE_ASM_COLLECT_STATS 0
    168 #endif
    169 
    170164#if LLINT_EXECUTION_TRACING
    171165#define OFFLINE_ASM_EXECUTION_TRACING 1
  • trunk/Source/JavaScriptCore/llint/LLIntSlowPaths.cpp

    r229447 r229478  
    18041804}
    18051805
    1806 #if ENABLE(LLINT_STATS)
    1807 
    1808 LLINT_SLOW_PATH_DECL(count_opcode)
    1809 {
    1810     OpcodeID opcodeID = Interpreter::getOpcodeID(pc[0].u.opcode);
    1811     Data::opcodeStats(opcodeID).count++;
    1812     LLINT_END_IMPL();
    1813 }
    1814 
    1815 LLINT_SLOW_PATH_DECL(count_opcode_slow_path)
    1816 {
    1817     OpcodeID opcodeID = Interpreter::getOpcodeID(pc[0].u.opcode);
    1818     Data::opcodeStats(opcodeID).slowPathCount++;
    1819     LLINT_END_IMPL();
    1820 }
    1821 
    1822 #endif // ENABLE(LLINT_STATS)
    1823 
    18241806} } // namespace JSC::LLInt
  • trunk/Source/JavaScriptCore/llint/LLIntSlowPaths.h

    r225385 r229478  
    5454LLINT_SLOW_PATH_HIDDEN_DECL(trace);
    5555LLINT_SLOW_PATH_HIDDEN_DECL(special_trace);
    56 LLINT_SLOW_PATH_HIDDEN_DECL(count_opcode);
    57 LLINT_SLOW_PATH_HIDDEN_DECL(count_opcode_slow_path);
    5856LLINT_SLOW_PATH_HIDDEN_DECL(entry_osr);
    5957LLINT_SLOW_PATH_HIDDEN_DECL(entry_osr_function_for_call);
  • trunk/Source/JavaScriptCore/llint/LowLevelInterpreter.asm

    r229447 r229478  
    830830
    831831macro traceExecution()
    832     if COLLECT_STATS
    833         callSlowPath(_llint_count_opcode)
    834     end
    835832    if EXECUTION_TRACING
    836833        callSlowPath(_llint_trace)
    837834    end
    838 end
    839 
    840 macro traceSlowPathExecution()
    841     if COLLECT_STATS
    842         callSlowPath(_llint_count_opcode_slow_path)
    843     end
    844 end
    845 
    846 macro callOpcodeSlowPath(slowPath)
    847     traceSlowPathExecution()
    848     callSlowPath(slowPath)
    849835end
    850836
     
    913899
    914900macro slowPathForCall(slowPath, prepareCall)
    915     traceSlowPathExecution()
    916901    callCallSlowPath(
    917902        slowPath,
     
    956941        10,
    957942        macro ()
    958             callOpcodeSlowPath(_llint_replace)
     943            callSlowPath(_llint_replace)
    959944        end)
    960945end
     
    13341319_llint_op_create_direct_arguments:
    13351320    traceExecution()
    1336     callOpcodeSlowPath(_slow_path_create_direct_arguments)
     1321    callSlowPath(_slow_path_create_direct_arguments)
    13371322    dispatch(constexpr op_create_direct_arguments_length)
    13381323
     
    13401325_llint_op_create_scoped_arguments:
    13411326    traceExecution()
    1342     callOpcodeSlowPath(_slow_path_create_scoped_arguments)
     1327    callSlowPath(_slow_path_create_scoped_arguments)
    13431328    dispatch(constexpr op_create_scoped_arguments_length)
    13441329
     
    13461331_llint_op_create_cloned_arguments:
    13471332    traceExecution()
    1348     callOpcodeSlowPath(_slow_path_create_cloned_arguments)
     1333    callSlowPath(_slow_path_create_cloned_arguments)
    13491334    dispatch(constexpr op_create_cloned_arguments_length)
    13501335
     
    13521337_llint_op_create_this:
    13531338    traceExecution()
    1354     callOpcodeSlowPath(_slow_path_create_this)
     1339    callSlowPath(_slow_path_create_this)
    13551340    dispatch(constexpr op_create_this_length)
    13561341
     
    13581343_llint_op_new_object:
    13591344    traceExecution()
    1360     callOpcodeSlowPath(_llint_slow_path_new_object)
     1345    callSlowPath(_llint_slow_path_new_object)
    13611346    dispatch(constexpr op_new_object_length)
    13621347
     
    13641349_llint_op_new_func:
    13651350    traceExecution()
    1366     callOpcodeSlowPath(_llint_slow_path_new_func)
     1351    callSlowPath(_llint_slow_path_new_func)
    13671352    dispatch(constexpr op_new_func_length)
    13681353
     
    13701355_llint_op_new_generator_func:
    13711356    traceExecution()
    1372     callOpcodeSlowPath(_llint_slow_path_new_generator_func)
     1357    callSlowPath(_llint_slow_path_new_generator_func)
    13731358    dispatch(constexpr op_new_generator_func_length)
    13741359
     
    13911376_llint_op_new_array:
    13921377    traceExecution()
    1393     callOpcodeSlowPath(_llint_slow_path_new_array)
     1378    callSlowPath(_llint_slow_path_new_array)
    13941379    dispatch(constexpr op_new_array_length)
    13951380
     
    13971382_llint_op_new_array_with_spread:
    13981383    traceExecution()
    1399     callOpcodeSlowPath(_slow_path_new_array_with_spread)
     1384    callSlowPath(_slow_path_new_array_with_spread)
    14001385    dispatch(constexpr op_new_array_with_spread_length)
    14011386
     
    14031388_llint_op_spread:
    14041389    traceExecution()
    1405     callOpcodeSlowPath(_slow_path_spread)
     1390    callSlowPath(_slow_path_spread)
    14061391    dispatch(constexpr op_spread_length)
    14071392
     
    14091394_llint_op_new_array_with_size:
    14101395    traceExecution()
    1411     callOpcodeSlowPath(_llint_slow_path_new_array_with_size)
     1396    callSlowPath(_llint_slow_path_new_array_with_size)
    14121397    dispatch(constexpr op_new_array_with_size_length)
    14131398
     
    14151400_llint_op_new_array_buffer:
    14161401    traceExecution()
    1417     callOpcodeSlowPath(_slow_path_new_array_buffer)
     1402    callSlowPath(_slow_path_new_array_buffer)
    14181403    dispatch(constexpr op_new_array_buffer_length)
    14191404
     
    14211406_llint_op_new_regexp:
    14221407    traceExecution()
    1423     callOpcodeSlowPath(_llint_slow_path_new_regexp)
     1408    callSlowPath(_llint_slow_path_new_regexp)
    14241409    dispatch(constexpr op_new_regexp_length)
    14251410
     
    14271412_llint_op_less:
    14281413    traceExecution()
    1429     callOpcodeSlowPath(_slow_path_less)
     1414    callSlowPath(_slow_path_less)
    14301415    dispatch(constexpr op_less_length)
    14311416
     
    14331418_llint_op_lesseq:
    14341419    traceExecution()
    1435     callOpcodeSlowPath(_slow_path_lesseq)
     1420    callSlowPath(_slow_path_lesseq)
    14361421    dispatch(constexpr op_lesseq_length)
    14371422
     
    14391424_llint_op_greater:
    14401425    traceExecution()
    1441     callOpcodeSlowPath(_slow_path_greater)
     1426    callSlowPath(_slow_path_greater)
    14421427    dispatch(constexpr op_greater_length)
    14431428
     
    14451430_llint_op_greatereq:
    14461431    traceExecution()
    1447     callOpcodeSlowPath(_slow_path_greatereq)
     1432    callSlowPath(_slow_path_greatereq)
    14481433    dispatch(constexpr op_greatereq_length)
    14491434
     
    14631448_llint_op_mod:
    14641449    traceExecution()
    1465     callOpcodeSlowPath(_slow_path_mod)
     1450    callSlowPath(_slow_path_mod)
    14661451    dispatch(constexpr op_mod_length)
    14671452
     
    14691454_llint_op_pow:
    14701455    traceExecution()
    1471     callOpcodeSlowPath(_slow_path_pow)
     1456    callSlowPath(_slow_path_pow)
    14721457    dispatch(constexpr op_pow_length)
    14731458
     
    14751460_llint_op_typeof:
    14761461    traceExecution()
    1477     callOpcodeSlowPath(_slow_path_typeof)
     1462    callSlowPath(_slow_path_typeof)
    14781463    dispatch(constexpr op_typeof_length)
    14791464
     
    14811466_llint_op_is_object_or_null:
    14821467    traceExecution()
    1483     callOpcodeSlowPath(_slow_path_is_object_or_null)
     1468    callSlowPath(_slow_path_is_object_or_null)
    14841469    dispatch(constexpr op_is_object_or_null_length)
    14851470
    14861471_llint_op_is_function:
    14871472    traceExecution()
    1488     callOpcodeSlowPath(_slow_path_is_function)
     1473    callSlowPath(_slow_path_is_function)
    14891474    dispatch(constexpr op_is_function_length)
    14901475
     
    14921477_llint_op_in:
    14931478    traceExecution()
    1494     callOpcodeSlowPath(_slow_path_in)
     1479    callSlowPath(_slow_path_in)
    14951480    dispatch(constexpr op_in_length)
    14961481
     
    14981483_llint_op_try_get_by_id:
    14991484    traceExecution()
    1500     callOpcodeSlowPath(_llint_slow_path_try_get_by_id)
     1485    callSlowPath(_llint_slow_path_try_get_by_id)
    15011486    dispatch(constexpr op_try_get_by_id_length)
    15021487
     
    15041489_llint_op_del_by_id:
    15051490    traceExecution()
    1506     callOpcodeSlowPath(_llint_slow_path_del_by_id)
     1491    callSlowPath(_llint_slow_path_del_by_id)
    15071492    dispatch(constexpr op_del_by_id_length)
    15081493
     
    15101495_llint_op_del_by_val:
    15111496    traceExecution()
    1512     callOpcodeSlowPath(_llint_slow_path_del_by_val)
     1497    callSlowPath(_llint_slow_path_del_by_val)
    15131498    dispatch(constexpr op_del_by_val_length)
    15141499
     
    15161501_llint_op_put_by_index:
    15171502    traceExecution()
    1518     callOpcodeSlowPath(_llint_slow_path_put_by_index)
     1503    callSlowPath(_llint_slow_path_put_by_index)
    15191504    dispatch(constexpr op_put_by_index_length)
    15201505
     
    15221507_llint_op_put_getter_by_id:
    15231508    traceExecution()
    1524     callOpcodeSlowPath(_llint_slow_path_put_getter_by_id)
     1509    callSlowPath(_llint_slow_path_put_getter_by_id)
    15251510    dispatch(constexpr op_put_getter_by_id_length)
    15261511
     
    15281513_llint_op_put_setter_by_id:
    15291514    traceExecution()
    1530     callOpcodeSlowPath(_llint_slow_path_put_setter_by_id)
     1515    callSlowPath(_llint_slow_path_put_setter_by_id)
    15311516    dispatch(constexpr op_put_setter_by_id_length)
    15321517
     
    15341519_llint_op_put_getter_setter_by_id:
    15351520    traceExecution()
    1536     callOpcodeSlowPath(_llint_slow_path_put_getter_setter_by_id)
     1521    callSlowPath(_llint_slow_path_put_getter_setter_by_id)
    15371522    dispatch(constexpr op_put_getter_setter_by_id_length)
    15381523
     
    15401525_llint_op_put_getter_by_val:
    15411526    traceExecution()
    1542     callOpcodeSlowPath(_llint_slow_path_put_getter_by_val)
     1527    callSlowPath(_llint_slow_path_put_getter_by_val)
    15431528    dispatch(constexpr op_put_getter_by_val_length)
    15441529
     
    15461531_llint_op_put_setter_by_val:
    15471532    traceExecution()
    1548     callOpcodeSlowPath(_llint_slow_path_put_setter_by_val)
     1533    callSlowPath(_llint_slow_path_put_setter_by_val)
    15491534    dispatch(constexpr op_put_setter_by_val_length)
    15501535
     
    15521537_llint_op_define_data_property:
    15531538    traceExecution()
    1554     callOpcodeSlowPath(_slow_path_define_data_property)
     1539    callSlowPath(_slow_path_define_data_property)
    15551540    dispatch(constexpr op_define_data_property_length)
    15561541
     
    15581543_llint_op_define_accessor_property:
    15591544    traceExecution()
    1560     callOpcodeSlowPath(_slow_path_define_accessor_property)
     1545    callSlowPath(_slow_path_define_accessor_property)
    15611546    dispatch(constexpr op_define_accessor_property_length)
    15621547
     
    16921677
    16931678_llint_op_super_sampler_begin:
    1694     callOpcodeSlowPath(_llint_slow_path_super_sampler_begin)
     1679    callSlowPath(_llint_slow_path_super_sampler_begin)
    16951680    dispatch(constexpr op_super_sampler_begin_length)
    16961681
     
    16981683_llint_op_super_sampler_end:
    16991684    traceExecution()
    1700     callOpcodeSlowPath(_llint_slow_path_super_sampler_end)
     1685    callSlowPath(_llint_slow_path_super_sampler_end)
    17011686    dispatch(constexpr op_super_sampler_end_length)
    17021687
     
    17041689_llint_op_switch_string:
    17051690    traceExecution()
    1706     callOpcodeSlowPath(_llint_slow_path_switch_string)
     1691    callSlowPath(_llint_slow_path_switch_string)
    17071692    dispatch(0)
    17081693
     
    17101695_llint_op_new_func_exp:
    17111696    traceExecution()
    1712     callOpcodeSlowPath(_llint_slow_path_new_func_exp)
     1697    callSlowPath(_llint_slow_path_new_func_exp)
    17131698    dispatch(constexpr op_new_func_exp_length)
    17141699
    17151700_llint_op_new_generator_func_exp:
    17161701    traceExecution()
    1717     callOpcodeSlowPath(_llint_slow_path_new_generator_func_exp)
     1702    callSlowPath(_llint_slow_path_new_generator_func_exp)
    17181703    dispatch(constexpr op_new_generator_func_exp_length)
    17191704
     
    17261711_llint_op_set_function_name:
    17271712    traceExecution()
    1728     callOpcodeSlowPath(_llint_slow_path_set_function_name)
     1713    callSlowPath(_llint_slow_path_set_function_name)
    17291714    dispatch(constexpr op_set_function_name_length)
    17301715
     
    17451730
    17461731macro doCallVarargs(frameSlowPath, slowPath, prepareCall)
    1747     callOpcodeSlowPath(frameSlowPath)
     1732    callSlowPath(frameSlowPath)
    17481733    branchIfException(_llint_throw_from_slow_path_trampoline)
    17491734    # calleeFrame in r1
     
    18321817_llint_op_strcat:
    18331818    traceExecution()
    1834     callOpcodeSlowPath(_slow_path_strcat)
     1819    callSlowPath(_slow_path_strcat)
    18351820    dispatch(constexpr op_strcat_length)
    18361821
     
    18381823_llint_op_push_with_scope:
    18391824    traceExecution()
    1840     callOpcodeSlowPath(_slow_path_push_with_scope)
     1825    callSlowPath(_slow_path_push_with_scope)
    18411826    dispatch(constexpr op_push_with_scope_length)
    18421827
     
    18491834_llint_op_unreachable:
    18501835    traceExecution()
    1851     callOpcodeSlowPath(_slow_path_unreachable)
     1836    callSlowPath(_slow_path_unreachable)
    18521837    dispatch(constexpr op_unreachable_length)
    18531838
     
    18591844_llint_op_create_lexical_environment:
    18601845    traceExecution()
    1861     callOpcodeSlowPath(_slow_path_create_lexical_environment)
     1846    callSlowPath(_slow_path_create_lexical_environment)
    18621847    dispatch(constexpr op_create_lexical_environment_length)
    18631848
     
    18651850_llint_op_throw:
    18661851    traceExecution()
    1867     callOpcodeSlowPath(_llint_slow_path_throw)
     1852    callSlowPath(_llint_slow_path_throw)
    18681853    dispatch(constexpr op_throw_length)
    18691854
     
    18711856_llint_op_throw_static_error:
    18721857    traceExecution()
    1873     callOpcodeSlowPath(_slow_path_throw_static_error)
     1858    callSlowPath(_slow_path_throw_static_error)
    18741859    dispatch(constexpr op_throw_static_error_length)
    18751860
     
    18801865    loadi CodeBlock::m_debuggerRequests[t0], t0
    18811866    btiz t0, .opDebugDone
    1882     callOpcodeSlowPath(_llint_slow_path_debug)
     1867    callSlowPath(_llint_slow_path_debug)
    18831868.opDebugDone:                   
    18841869    dispatch(constexpr op_debug_length)
     
    19031888_llint_op_get_enumerable_length:
    19041889    traceExecution()
    1905     callOpcodeSlowPath(_slow_path_get_enumerable_length)
     1890    callSlowPath(_slow_path_get_enumerable_length)
    19061891    dispatch(constexpr op_get_enumerable_length_length)
    19071892
    19081893_llint_op_has_indexed_property:
    19091894    traceExecution()
    1910     callOpcodeSlowPath(_slow_path_has_indexed_property)
     1895    callSlowPath(_slow_path_has_indexed_property)
    19111896    dispatch(constexpr op_has_indexed_property_length)
    19121897
    19131898_llint_op_has_structure_property:
    19141899    traceExecution()
    1915     callOpcodeSlowPath(_slow_path_has_structure_property)
     1900    callSlowPath(_slow_path_has_structure_property)
    19161901    dispatch(constexpr op_has_structure_property_length)
    19171902
    19181903_llint_op_has_generic_property:
    19191904    traceExecution()
    1920     callOpcodeSlowPath(_slow_path_has_generic_property)
     1905    callSlowPath(_slow_path_has_generic_property)
    19211906    dispatch(constexpr op_has_generic_property_length)
    19221907
    19231908_llint_op_get_direct_pname:
    19241909    traceExecution()
    1925     callOpcodeSlowPath(_slow_path_get_direct_pname)
     1910    callSlowPath(_slow_path_get_direct_pname)
    19261911    dispatch(constexpr op_get_direct_pname_length)
    19271912
    19281913_llint_op_get_property_enumerator:
    19291914    traceExecution()
    1930     callOpcodeSlowPath(_slow_path_get_property_enumerator)
     1915    callSlowPath(_slow_path_get_property_enumerator)
    19311916    dispatch(constexpr op_get_property_enumerator_length)
    19321917
    19331918_llint_op_enumerator_structure_pname:
    19341919    traceExecution()
    1935     callOpcodeSlowPath(_slow_path_next_structure_enumerator_pname)
     1920    callSlowPath(_slow_path_next_structure_enumerator_pname)
    19361921    dispatch(constexpr op_enumerator_structure_pname_length)
    19371922
    19381923_llint_op_enumerator_generic_pname:
    19391924    traceExecution()
    1940     callOpcodeSlowPath(_slow_path_next_generic_enumerator_pname)
     1925    callSlowPath(_slow_path_next_generic_enumerator_pname)
    19411926    dispatch(constexpr op_enumerator_generic_pname_length)
    19421927
    19431928_llint_op_to_index_string:
    19441929    traceExecution()
    1945     callOpcodeSlowPath(_slow_path_to_index_string)
     1930    callSlowPath(_slow_path_to_index_string)
    19461931    dispatch(constexpr op_to_index_string_length)
    19471932
    19481933_llint_op_create_rest:
    19491934    traceExecution()
    1950     callOpcodeSlowPath(_slow_path_create_rest)
     1935    callSlowPath(_slow_path_create_rest)
    19511936    dispatch(constexpr op_create_rest_length)
    19521937
    19531938_llint_op_instanceof:
    19541939    traceExecution()
    1955     callOpcodeSlowPath(_llint_slow_path_instanceof)
     1940    callSlowPath(_llint_slow_path_instanceof)
    19561941    dispatch(constexpr op_instanceof_length)
    19571942
    19581943_llint_op_get_by_id_with_this:
    19591944    traceExecution()
    1960     callOpcodeSlowPath(_slow_path_get_by_id_with_this)
     1945    callSlowPath(_slow_path_get_by_id_with_this)
    19611946    dispatch(constexpr op_get_by_id_with_this_length)
    19621947
    19631948_llint_op_get_by_val_with_this:
    19641949    traceExecution()
    1965     callOpcodeSlowPath(_slow_path_get_by_val_with_this)
     1950    callSlowPath(_slow_path_get_by_val_with_this)
    19661951    dispatch(constexpr op_get_by_val_with_this_length)
    19671952
    19681953_llint_op_put_by_id_with_this:
    19691954    traceExecution()
    1970     callOpcodeSlowPath(_slow_path_put_by_id_with_this)
     1955    callSlowPath(_slow_path_put_by_id_with_this)
    19711956    dispatch(constexpr op_put_by_id_with_this_length)
    19721957
    19731958_llint_op_put_by_val_with_this:
    19741959    traceExecution()
    1975     callOpcodeSlowPath(_slow_path_put_by_val_with_this)
     1960    callSlowPath(_slow_path_put_by_val_with_this)
    19761961    dispatch(constexpr op_put_by_val_with_this_length)
    19771962
    19781963_llint_op_resolve_scope_for_hoisting_func_decl_in_eval:
    19791964    traceExecution()
    1980     callOpcodeSlowPath(_slow_path_resolve_scope_for_hoisting_func_decl_in_eval)
     1965    callSlowPath(_slow_path_resolve_scope_for_hoisting_func_decl_in_eval)
    19811966    dispatch(constexpr op_resolve_scope_for_hoisting_func_decl_in_eval_length)
    19821967
  • trunk/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm

    r229447 r229478  
    659659    btinz t2, .opEnterLoop
    660660.opEnterDone:
    661     callOpcodeSlowPath(_slow_path_enter)
     661    callSlowPath(_slow_path_enter)
    662662    dispatch(constexpr op_enter_length)
    663663
     
    715715
    716716.opToThisSlow:
    717     callOpcodeSlowPath(_slow_path_to_this)
     717    callSlowPath(_slow_path_to_this)
    718718    dispatch(constexpr op_to_this_length)
    719719
     
    724724    loadConstantOrVariableTag(t0, t1)
    725725    bineq t1, EmptyValueTag, .opNotTDZ
    726     callOpcodeSlowPath(_slow_path_throw_tdz_error)
     726    callSlowPath(_slow_path_throw_tdz_error)
    727727
    728728.opNotTDZ:
     
    752752
    753753.opNotSlow:
    754     callOpcodeSlowPath(_slow_path_not)
     754    callSlowPath(_slow_path_not)
    755755    dispatch(constexpr op_not_length)
    756756
     
    772772
    773773.opEqSlow:
    774     callOpcodeSlowPath(_slow_path_eq)
     774    callSlowPath(_slow_path_eq)
    775775    dispatch(constexpr op_eq_length)
    776776
     
    819819
    820820.opNeqSlow:
    821     callOpcodeSlowPath(_slow_path_neq)
     821    callSlowPath(_slow_path_neq)
    822822    dispatch(constexpr op_neq_length)
    823823   
     
    868868
    869869.slow:
    870     callOpcodeSlowPath(slowPath)
     870    callSlowPath(slowPath)
    871871    dispatch(4)
    872872end
     
    892892
    893893.opIncSlow:
    894     callOpcodeSlowPath(_slow_path_inc)
     894    callSlowPath(_slow_path_inc)
    895895    dispatch(constexpr op_inc_length)
    896896
     
    906906
    907907.opDecSlow:
    908     callOpcodeSlowPath(_slow_path_dec)
     908    callSlowPath(_slow_path_dec)
    909909    dispatch(constexpr op_dec_length)
    910910
     
    924924
    925925.opToNumberSlow:
    926     callOpcodeSlowPath(_slow_path_to_number)
     926    callSlowPath(_slow_path_to_number)
    927927    dispatch(constexpr op_to_number_length)
    928928
     
    941941
    942942.opToStringSlow:
    943     callOpcodeSlowPath(_slow_path_to_string)
     943    callSlowPath(_slow_path_to_string)
    944944    dispatch(constexpr op_to_string_length)
    945945
     
    958958
    959959.opToObjectSlow:
    960     callOpcodeSlowPath(_slow_path_to_object)
     960    callSlowPath(_slow_path_to_object)
    961961    dispatch(constexpr op_to_object_length)
    962962
     
    986986
    987987.opNegateSlow:
    988     callOpcodeSlowPath(_slow_path_negate)
     988    callSlowPath(_slow_path_negate)
    989989    dispatch(constexpr op_negate_length)
    990990
     
    10401040
    10411041.slow:
    1042     callOpcodeSlowPath(slowPath)
     1042    callSlowPath(slowPath)
    10431043    dispatch(5)
    10441044end
     
    11211121
    11221122.slow:
    1123     callOpcodeSlowPath(slowPath)
     1123    callSlowPath(slowPath)
    11241124    dispatch(advance)
    11251125end
     
    11591159    dispatch(constexpr op_unsigned_length)
    11601160.opUnsignedSlow:
    1161     callOpcodeSlowPath(_slow_path_unsigned)
     1161    callSlowPath(_slow_path_unsigned)
    11621162    dispatch(constexpr op_unsigned_length)
    11631163
     
    12191219_llint_op_instanceof_custom:
    12201220    traceExecution()
    1221     callOpcodeSlowPath(_llint_slow_path_instanceof_custom)
     1221    callSlowPath(_llint_slow_path_instanceof_custom)
    12221222    dispatch(constexpr op_instanceof_custom_length)
    12231223
     
    13681368
    13691369.opGetByIdSlow:
    1370     callOpcodeSlowPath(_llint_slow_path_get_by_id)
     1370    callSlowPath(_llint_slow_path_get_by_id)
    13711371    dispatch(constexpr op_get_by_id_length)
    13721372
     
    13881388
    13891389.opGetByIdProtoSlow:
    1390     callOpcodeSlowPath(_llint_slow_path_get_by_id)
     1390    callSlowPath(_llint_slow_path_get_by_id)
    13911391    dispatch(constexpr op_get_by_id_proto_load_length)
    13921392
     
    14051405
    14061406.opGetByIdUnsetSlow:
    1407     callOpcodeSlowPath(_llint_slow_path_get_by_id)
     1407    callSlowPath(_llint_slow_path_get_by_id)
    14081408    dispatch(constexpr op_get_by_id_unset_length)
    14091409
     
    14281428
    14291429.opGetArrayLengthSlow:
    1430     callOpcodeSlowPath(_llint_slow_path_get_by_id)
     1430    callSlowPath(_llint_slow_path_get_by_id)
    14311431    dispatch(constexpr op_get_array_length_length)
    14321432
     
    15651565
    15661566.opPutByIdSlow:
    1567     callOpcodeSlowPath(_llint_slow_path_put_by_id)
     1567    callSlowPath(_llint_slow_path_put_by_id)
    15681568    dispatch(constexpr op_put_by_id_length)
    15691569
     
    16191619
    16201620.opGetByValSlow:
    1621     callOpcodeSlowPath(_llint_slow_path_get_by_val)
     1621    callSlowPath(_llint_slow_path_get_by_val)
    16221622    dispatch(constexpr op_get_by_val_length)
    16231623
     
    17111711    storeb 1, ArrayProfile::m_outOfBounds[t0]
    17121712.opPutByValSlow:
    1713     callOpcodeSlowPath(slowPath)
     1713    callSlowPath(slowPath)
    17141714    dispatch(5)
    17151715end
     
    17361736
    17371737.slow:
    1738     callOpcodeSlowPath(slow)
     1738    callSlowPath(slow)
    17391739    dispatch(0)
    17401740end
     
    18611861
    18621862.slow:
    1863     callOpcodeSlowPath(slowPath)
     1863    callSlowPath(slowPath)
    18641864    dispatch(0)
    18651865end
     
    18901890
    18911891.opSwitchImmSlow:
    1892     callOpcodeSlowPath(_llint_slow_path_switch_imm)
     1892    callSlowPath(_llint_slow_path_switch_imm)
    18931893    dispatch(0)
    18941894
     
    19271927
    19281928.opSwitchOnRope:
    1929     callOpcodeSlowPath(_llint_slow_path_switch_char)
     1929    callSlowPath(_llint_slow_path_switch_char)
    19301930    dispatch(0)
    19311931
     
    19861986
    19871987.opToPrimitiveSlowCase:
    1988     callOpcodeSlowPath(_slow_path_to_primitive)
     1988    callSlowPath(_slow_path_to_primitive)
    19891989    dispatch(constexpr op_to_primitive_length)
    19901990
     
    20062006    loadi VM::targetInterpreterPCForThrow[t3], PC
    20072007
    2008     callOpcodeSlowPath(_llint_slow_path_check_if_exception_is_uncatchable_and_notify_profiler)
     2008    callSlowPath(_llint_slow_path_check_if_exception_is_uncatchable_and_notify_profiler)
    20092009    bpeq r1, 0, .isCatchableException
    20102010    jmp _llint_throw_from_slow_path_trampoline
     
    20292029    traceExecution()  # This needs to be here because we don't want to clobber t0, t1, t2, t3 above.
    20302030
    2031     callOpcodeSlowPath(_llint_slow_path_profile_catch)
     2031    callSlowPath(_llint_slow_path_profile_catch)
    20322032
    20332033    dispatch(constexpr op_catch_length)
     
    22732273
    22742274.rDynamic:
    2275     callOpcodeSlowPath(_slow_path_resolve_scope)
     2275    callSlowPath(_slow_path_resolve_scope)
    22762276    dispatch(7)
    22772277
     
    23732373
    23742374.gDynamic:
    2375     callOpcodeSlowPath(_llint_slow_path_get_from_scope)
     2375    callSlowPath(_llint_slow_path_get_from_scope)
    23762376    dispatch(8)
    23772377
     
    24842484.pModuleVar:
    24852485    bineq t0, ModuleVar, .pDynamic
    2486     callOpcodeSlowPath(_slow_path_throw_strict_mode_readonly_property_write_error)
     2486    callSlowPath(_slow_path_throw_strict_mode_readonly_property_write_error)
    24872487    dispatch(7)
    24882488
    24892489.pDynamic:
    2490     callOpcodeSlowPath(_llint_slow_path_put_to_scope)
     2490    callSlowPath(_llint_slow_path_put_to_scope)
    24912491    dispatch(7)
    24922492
     
    25692569    loadp TypeProfilerLog::m_logEndPtr[t1], t1
    25702570    bpneq t2, t1, .opProfileTypeDone
    2571     callOpcodeSlowPath(_slow_path_profile_type_clear_log)
     2571    callSlowPath(_slow_path_profile_type_clear_log)
    25722572
    25732573.opProfileTypeDone:
     
    26162616    dispatch(2)
    26172617.opLogShadowChickenPrologueSlow:
    2618     callOpcodeSlowPath(_llint_slow_path_log_shadow_chicken_prologue)
     2618    callSlowPath(_llint_slow_path_log_shadow_chicken_prologue)
    26192619    dispatch(2)
    26202620
     
    26362636    dispatch(3)
    26372637.opLogShadowChickenTailSlow:
    2638     callOpcodeSlowPath(_llint_slow_path_log_shadow_chicken_tail)
     2638    callSlowPath(_llint_slow_path_log_shadow_chicken_tail)
    26392639    dispatch(3)
  • trunk/Source/JavaScriptCore/llint/LowLevelInterpreter64.asm

    r229447 r229478  
    604604    btqnz t2, .opEnterLoop
    605605.opEnterDone:
    606     callOpcodeSlowPath(_slow_path_enter)
     606    callSlowPath(_slow_path_enter)
    607607    dispatch(constexpr op_enter_length)
    608608
     
    656656
    657657.opToThisSlow:
    658     callOpcodeSlowPath(_slow_path_to_this)
     658    callSlowPath(_slow_path_to_this)
    659659    dispatch(constexpr op_to_this_length)
    660660
     
    665665    loadConstantOrVariable(t0, t1)
    666666    bqneq t1, ValueEmpty, .opNotTDZ
    667     callOpcodeSlowPath(_slow_path_throw_tdz_error)
     667    callSlowPath(_slow_path_throw_tdz_error)
    668668
    669669.opNotTDZ:
     
    692692
    693693.opNotSlow:
    694     callOpcodeSlowPath(_slow_path_not)
     694    callSlowPath(_slow_path_not)
    695695    dispatch(constexpr op_not_length)
    696696
     
    709709
    710710.slow:
    711     callOpcodeSlowPath(slowPath)
     711    callSlowPath(slowPath)
    712712    dispatch(4)
    713713end
     
    784784
    785785.slow:
    786     callOpcodeSlowPath(slowPath)
     786    callSlowPath(slowPath)
    787787    dispatch(4)
    788788end
     
    811811
    812812.slow:
    813     callOpcodeSlowPath(slowPath)
     813    callSlowPath(slowPath)
    814814    dispatch(2)
    815815end
     
    840840
    841841.opToNumberSlow:
    842     callOpcodeSlowPath(_slow_path_to_number)
     842    callSlowPath(_slow_path_to_number)
    843843    dispatch(constexpr op_to_number_length)
    844844
     
    856856
    857857.opToStringSlow:
    858     callOpcodeSlowPath(_slow_path_to_string)
     858    callSlowPath(_slow_path_to_string)
    859859    dispatch(constexpr op_to_string_length)
    860860
     
    872872
    873873.opToObjectSlow:
    874     callOpcodeSlowPath(_slow_path_to_object)
     874    callSlowPath(_slow_path_to_object)
    875875    dispatch(constexpr op_to_object_length)
    876876
     
    899899
    900900.opNegateSlow:
    901     callOpcodeSlowPath(_slow_path_negate)
     901    callSlowPath(_slow_path_negate)
    902902    dispatch(constexpr op_negate_length)
    903903
     
    960960
    961961.slow:
    962     callOpcodeSlowPath(slowPath)
     962    callSlowPath(slowPath)
    963963    dispatch(5)
    964964end
     
    10321032            _slow_path_div)
    10331033    else
    1034         callOpcodeSlowPath(_slow_path_div)
     1034        callSlowPath(_slow_path_div)
    10351035        dispatch(constexpr op_div_length)
    10361036    end
     
    10511051
    10521052.slow:
    1053     callOpcodeSlowPath(slowPath)
     1053    callSlowPath(slowPath)
    10541054    dispatch(advance)
    10551055end
     
    10881088    dispatch(constexpr op_unsigned_length)
    10891089.opUnsignedSlow:
    1090     callOpcodeSlowPath(_slow_path_unsigned)
     1090    callSlowPath(_slow_path_unsigned)
    10911091    dispatch(constexpr op_unsigned_length)
    10921092
     
    11411141_llint_op_instanceof_custom:
    11421142    traceExecution()
    1143     callOpcodeSlowPath(_llint_slow_path_instanceof_custom)
     1143    callSlowPath(_llint_slow_path_instanceof_custom)
    11441144    dispatch(constexpr op_instanceof_custom_length)
    11451145
     
    12751275
    12761276.opGetByIdSlow:
    1277     callOpcodeSlowPath(_llint_slow_path_get_by_id)
     1277    callSlowPath(_llint_slow_path_get_by_id)
    12781278    dispatch(constexpr op_get_by_id_length)
    12791279
     
    12951295
    12961296.opGetByIdProtoSlow:
    1297     callOpcodeSlowPath(_llint_slow_path_get_by_id)
     1297    callSlowPath(_llint_slow_path_get_by_id)
    12981298    dispatch(constexpr op_get_by_id_proto_load_length)
    12991299
     
    13121312
    13131313.opGetByIdUnsetSlow:
    1314     callOpcodeSlowPath(_llint_slow_path_get_by_id)
     1314    callSlowPath(_llint_slow_path_get_by_id)
    13151315    dispatch(constexpr op_get_by_id_unset_length)
    13161316
     
    13351335
    13361336.opGetArrayLengthSlow:
    1337     callOpcodeSlowPath(_llint_slow_path_get_by_id)
     1337    callSlowPath(_llint_slow_path_get_by_id)
    13381338    dispatch(constexpr op_get_array_length_length)
    13391339
     
    14781478
    14791479.opPutByIdSlow:
    1480     callOpcodeSlowPath(_llint_slow_path_put_by_id)
     1480    callSlowPath(_llint_slow_path_put_by_id)
    14811481    dispatch(constexpr op_put_by_id_length)
    14821482
     
    16271627
    16281628.opGetByValSlow:
    1629     callOpcodeSlowPath(_llint_slow_path_get_by_val)
     1629    callSlowPath(_llint_slow_path_get_by_val)
    16301630    dispatch(constexpr op_get_by_val_length)
    16311631
     
    17181718    storeb 1, ArrayProfile::m_outOfBounds[t0]
    17191719.opPutByValSlow:
    1720     callOpcodeSlowPath(slowPath)
     1720    callSlowPath(slowPath)
    17211721    dispatch(5)
    17221722end
     
    17461746
    17471747.slow:
    1748     callOpcodeSlowPath(slow)
     1748    callSlowPath(slow)
    17491749    dispatch(0)
    17501750end
     
    18461846
    18471847.slow:
    1848     callOpcodeSlowPath(slowPath)
     1848    callSlowPath(slowPath)
    18491849    dispatch(0)
    18501850end
     
    19021902
    19031903.opSwitchImmSlow:
    1904     callOpcodeSlowPath(_llint_slow_path_switch_imm)
     1904    callSlowPath(_llint_slow_path_switch_imm)
    19051905    dispatch(0)
    19061906
     
    19391939
    19401940.opSwitchOnRope:
    1941     callOpcodeSlowPath(_llint_slow_path_switch_char)
     1941    callSlowPath(_llint_slow_path_switch_char)
    19421942    dispatch(0)
    19431943
     
    20032003
    20042004.opToPrimitiveSlowCase:
    2005     callOpcodeSlowPath(_slow_path_to_primitive)
     2005    callSlowPath(_slow_path_to_primitive)
    20062006    dispatch(constexpr op_to_primitive_length)
    20072007
     
    20282028    rshiftp 3, PC
    20292029
    2030     callOpcodeSlowPath(_llint_slow_path_check_if_exception_is_uncatchable_and_notify_profiler)
     2030    callSlowPath(_llint_slow_path_check_if_exception_is_uncatchable_and_notify_profiler)
    20312031    bpeq r1, 0, .isCatchableException
    20322032    jmp _llint_throw_from_slow_path_trampoline
     
    20482048    traceExecution()
    20492049
    2050     callOpcodeSlowPath(_llint_slow_path_profile_catch)
     2050    callSlowPath(_llint_slow_path_profile_catch)
    20512051
    20522052    dispatch(constexpr op_catch_length)
     
    22572257
    22582258.rDynamic:
    2259     callOpcodeSlowPath(_slow_path_resolve_scope)
     2259    callSlowPath(_slow_path_resolve_scope)
    22602260    dispatch(constexpr op_resolve_scope_length)
    22612261
     
    23532353
    23542354.gDynamic:
    2355     callOpcodeSlowPath(_llint_slow_path_get_from_scope)
     2355    callSlowPath(_llint_slow_path_get_from_scope)
    23562356    dispatch(constexpr op_get_from_scope_length)
    23572357
     
    24742474.pModuleVar:
    24752475    bineq t0, ModuleVar, .pDynamic
    2476     callOpcodeSlowPath(_slow_path_throw_strict_mode_readonly_property_write_error)
     2476    callSlowPath(_slow_path_throw_strict_mode_readonly_property_write_error)
    24772477    dispatch(constexpr op_put_to_scope_length)
    24782478
    24792479.pDynamic:
    2480     callOpcodeSlowPath(_llint_slow_path_put_to_scope)
     2480    callSlowPath(_llint_slow_path_put_to_scope)
    24812481    dispatch(constexpr op_put_to_scope_length)
    24822482
     
    25492549    loadp TypeProfilerLog::m_logEndPtr[t1], t1
    25502550    bpneq t2, t1, .opProfileTypeDone
    2551     callOpcodeSlowPath(_slow_path_profile_type_clear_log)
     2551    callSlowPath(_slow_path_profile_type_clear_log)
    25522552
    25532553.opProfileTypeDone:
     
    25902590    dispatch(constexpr op_log_shadow_chicken_prologue_length)
    25912591.opLogShadowChickenPrologueSlow:
    2592     callOpcodeSlowPath(_llint_slow_path_log_shadow_chicken_prologue)
     2592    callSlowPath(_llint_slow_path_log_shadow_chicken_prologue)
    25932593    dispatch(constexpr op_log_shadow_chicken_prologue_length)
    25942594
     
    26082608    dispatch(constexpr op_log_shadow_chicken_tail_length)
    26092609.opLogShadowChickenTailSlow:
    2610     callOpcodeSlowPath(_llint_slow_path_log_shadow_chicken_tail)
     2610    callSlowPath(_llint_slow_path_log_shadow_chicken_tail)
    26112611    dispatch(constexpr op_log_shadow_chicken_tail_length)
  • trunk/Source/JavaScriptCore/runtime/Options.cpp

    r228397 r229478  
    2828
    2929#include "AssemblerCommon.h"
    30 #include "LLIntCommon.h"
    31 #include "LLIntData.h"
    3230#include "MinimumReservedZoneSize.h"
    3331#include "SigillCrashAnalyzer.h"
     
    153151   
    154152    UNUSED_PARAM(id);
    155 #if ENABLE(LLINT_STATS)
    156     if (id == reportLLIntStatsID || id == llintStatsFileID)
    157         return true;
    158 #endif
    159153#if !defined(NDEBUG)
    160154    if (id == maxSingleAllocationSizeID)
     
    483477    ASSERT((static_cast<int64_t>(Options::thresholdForOptimizeAfterLongWarmUp()) << Options::reoptimizationRetryCounterMax()) <= static_cast<int64_t>(std::numeric_limits<int32_t>::max()));
    484478
    485 #if ENABLE(LLINT_STATS)
    486     LLInt::Data::loadStats();
    487 #endif
    488479#if !defined(NDEBUG)
    489480    if (Options::maxSingleAllocationSize())
  • trunk/Source/JavaScriptCore/runtime/Options.h

    r229445 r229478  
    454454    v(bool, useSuperSampler, false, Normal, nullptr) \
    455455    \
    456     v(bool, reportLLIntStats, false, Configurable, "Reports LLInt statistics") \
    457     v(optionString, llintStatsFile, nullptr, Configurable, "File to collect LLInt statistics in") \
    458     \
    459456    v(bool, useSourceProviderCache, true, Normal, "If false, the parser will not use the source provider cache. It's good to verify everything works when this is false. Because the cache is so successful, it can mask bugs.") \
    460457    v(bool, useCodeCache, true, Normal, "If false, the unlinked byte code cache will not be used.") \
  • trunk/Source/JavaScriptCore/runtime/TestRunnerUtils.cpp

    r212778 r229478  
    11/*
    2  * Copyright (C) 2013-2017 Apple Inc. All rights reserved.
     2 * Copyright (C) 2013-2018 Apple Inc. All rights reserved.
    33 *
    44 * Redistribution and use in source and binary forms, with or without
     
    160160void finalizeStatsAtEndOfTesting()
    161161{
    162     if (Options::reportLLIntStats())
    163         LLInt::Data::finalizeStats();
    164162}
    165163
Note: See TracChangeset for help on using the changeset viewer.