jitcraft/Zone.cpp
author David Anderson <dvander@alliedmods.net>
Wed Jun 27 02:28:39 2012 -0700 (2012-06-27)
changeset 5 9b63fb7cf5bf
parent 0 c455ebb9a5dc
child 11 a350c2cc736a
permissions -rw-r--r--
Always add a sign when spewing jump distances.
     1 /*
     2  * Copyright (C) 2012 David Anderson
     3  *
     4  * This file is part of JITCraft.
     5  *
     6  * JITCraft is free software: you can redistribute it and/or modify it under
     7  * the terms of the GNU General Public License as published by the Free
     8  * Software Foundation, either version 3 of the License, or (at your option)
     9  * any later version.
    10  * 
    11  * Foobar is distributed in the hope that it will be useful, but WITHOUT ANY
    12  * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
    13  * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
    14  *
    15  * You should have received a copy of the GNU General Public License along with
    16  * JITCraft. If not, see http://www.gnu.org/licenses/.
    17  */
    18 #include "Zone.h"
    19 
    20 using namespace jc;
    21 
    22 Zone jc::SingleThreadedZone;
    23 
    24 bool
    25 Zone::initialize()
    26 {
    27     if (!stack_.initialize())
    28         return false;
    29     if (!unsafeStack_.initialize())
    30         return false;
    31     return true;
    32 }