Changeset 162270 in webkit


Ignore:
Timestamp:
Jan 18, 2014 1:11:56 PM (10 years ago)
Author:
mark.lam@apple.com
Message:

Add a hasBreakpointFlag arg to the op_debug bytecode.
https://bugs.webkit.org/show_bug.cgi?id=127230.

Reviewed by Geoffrey Garen.

This is in anticipation of upcoming changes to support bytecode level
breakpoints. This patch adds the flag to the op_debug bytecode and
initializes it, but does not use it yet.

  • bytecode/Opcode.h:

(JSC::padOpcodeName):

  • bytecompiler/BytecodeGenerator.cpp:

(JSC::BytecodeGenerator::emitDebugHook):

  • llint/LowLevelInterpreter.asm:
Location:
trunk/Source/JavaScriptCore
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r162266 r162270  
     12014-01-18  Mark Lam  <mark.lam@apple.com>
     2
     3        Add a hasBreakpointFlag arg to the op_debug bytecode.
     4        https://bugs.webkit.org/show_bug.cgi?id=127230.
     5
     6        Reviewed by Geoffrey Garen.
     7
     8        This is in anticipation of upcoming changes to support bytecode level
     9        breakpoints. This patch adds the flag to the op_debug bytecode and
     10        initializes it, but does not use it yet.
     11
     12        * bytecode/Opcode.h:
     13        (JSC::padOpcodeName):
     14        * bytecompiler/BytecodeGenerator.cpp:
     15        (JSC::BytecodeGenerator::emitDebugHook):
     16        * llint/LowLevelInterpreter.asm:
     17
    1182014-01-18  Alberto Garcia  <berto@igalia.com>
    219
  • trunk/Source/JavaScriptCore/bytecode/Opcode.h

    r160587 r162270  
    11/*
    2  * Copyright (C) 2008, 2009, 2013 Apple Inc. All rights reserved.
     2 * Copyright (C) 2008, 2009, 2013, 2014 Apple Inc. All rights reserved.
    33 * Copyright (C) 2008 Cameron Zwarich <cwzwarich@uwaterloo.ca>
    44 *
     
    186186    macro(op_throw_static_error, 3) \
    187187    \
    188     macro(op_debug, 2) \
     188    macro(op_debug, 3) \
    189189    macro(op_profile_will_call, 2) \
    190190    macro(op_profile_did_call, 2) \
  • trunk/Source/JavaScriptCore/bytecompiler/BytecodeGenerator.cpp

    r161437 r162270  
    11/*
    2  * Copyright (C) 2008, 2009, 2012, 2013 Apple Inc. All rights reserved.
     2 * Copyright (C) 2008, 2009, 2012, 2013, 2014 Apple Inc. All rights reserved.
    33 * Copyright (C) 2008 Cameron Zwarich <cwzwarich@uwaterloo.ca>
    44 * Copyright (C) 2012 Igalia, S.L.
     
    19511951    emitOpcode(op_debug);
    19521952    instructions().append(debugHookID);
     1953    instructions().append(false);
    19531954}
    19541955
  • trunk/Source/JavaScriptCore/llint/LowLevelInterpreter.asm

    r161377 r162270  
    1 # Copyright (C) 2011, 2012, 2013 Apple Inc. All rights reserved.
     1# Copyright (C) 2011, 2012, 2013, 2014 Apple Inc. All rights reserved.
    22#
    33# Redistribution and use in source and binary forms, with or without
     
    845845    callSlowPath(_llint_slow_path_debug)
    846846.opDebugDone:                   
    847     dispatch(2)
     847    dispatch(3)
    848848
    849849
Note: See TracChangeset for help on using the changeset viewer.