Changeset 61838 in webkit


Ignore:
Timestamp:
Jun 25, 2010 12:30:12 AM (14 years ago)
Author:
commit-queue@webkit.org
Message:

2010-06-25 Patrick Gansterer <paroga@paroga.com>

Reviewed by Darin Adler.

Add the possibility for a head and footer section to create_jit_stubs.
https://bugs.webkit.org/show_bug.cgi?id=36050

  • create_jit_stubs:
Location:
trunk/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r61833 r61838  
     12010-06-25  Patrick Gansterer  <paroga@paroga.com>
     2
     3        Reviewed by Darin Adler.
     4
     5        Add the possibility for a head and footer section to create_jit_stubs.
     6        https://bugs.webkit.org/show_bug.cgi?id=36050
     7
     8        * create_jit_stubs:
     9
    1102010-06-24  Renata Hodovan  <reni@inf.u-szeged.hu>
    211
  • trunk/JavaScriptCore/create_jit_stubs

    r55024 r61838  
    4343
    4444my $stub_template = "";
     45my $output_end = "";
    4546my $stub = "";
    4647
     
    5253
    5354while ( $_ = <IN> ) {
     55    if ( /^$prefix\_BEGIN\((.*)\)/ ) {
     56        $stub = $1;
     57        $stub =~ s/$offset_template/$offset/g;
     58        print $stub . "\n";
     59    }
    5460    if ( /^$prefix\((.*)\)/ ) {
    5561        $stub_template .= $1 . "\n";
     62    }
     63    if ( /^$prefix\_END\((.*)\)/ ) {
     64        $output_end .= $1 . "\n";
    5665    }
    5766    if ( /^DEFINE_STUB_FUNCTION\((.*), (.*)\)/ ) {
     
    6776}
    6877
     78print $output_end;
     79
    6980close(IN);
Note: See TracChangeset for help on using the changeset viewer.