Skip to content

Commit

Permalink
Merge pull request #177 from lukego/rebrand-printouts
Browse files Browse the repository at this point in the history
Minimal rebranding from LuaJIT -> RaptorJIT
  • Loading branch information
lukego authored Aug 6, 2018
2 parents 48b2be9 + 420fa75 commit 0494515
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
##############################################################################
# LuaJIT Makefile. Requires GNU Make.
# RaptorJIT Makefile. Requires GNU Make.
#
# Please read doc/install.html before changing any variables!
#
Expand Down
1 change: 0 additions & 1 deletion src/host/buildvm.c
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,6 @@ static void usage(void)
{
int i;
fprintf(stderr, LUAJIT_VERSION " VM builder.\n");
fprintf(stderr, LUAJIT_COPYRIGHT ", " LUAJIT_URL "\n");
fprintf(stderr, "Target architecture: " LJ_ARCH_NAME "\n\n");
fprintf(stderr, "Usage: buildvm -m mode [-o outfile] [infiles...]\n\n");
fprintf(stderr, "Available modes:\n");
Expand Down
2 changes: 1 addition & 1 deletion src/jit/bc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

-- Cache some library functions and objects.
local jit = require("jit")
assert(jit.version_num == 20100, "LuaJIT core/library version mismatch")
assert(jit.version_num == 10000, "LuaJIT core/library version mismatch")
local jutil = require("jit.util")
local vmdef = require("jit.vmdef")
local bit = require("bit")
Expand Down
2 changes: 1 addition & 1 deletion src/jit/bcsave.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
------------------------------------------------------------------------------

local jit = require("jit")
assert(jit.version_num == 20100, "LuaJIT core/library version mismatch")
assert(jit.version_num == 10000, "LuaJIT core/library version mismatch")
local bit = require("bit")

-- Symbol name prefix for LuaJIT bytecode.
Expand Down
6 changes: 3 additions & 3 deletions src/luajit.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ static void print_usage(void)
" -e chunk Execute string " LUA_QL("chunk") ".\n"
" -l name Require library " LUA_QL("name") ".\n"
" -b ... Save or list bytecode.\n"
" -j cmd Perform LuaJIT control command.\n"
" -O[opt] Control LuaJIT optimizations.\n"
" -j cmd Perform RaptorJIT control command.\n"
" -O[opt] Control RaptorJIT optimizations.\n"
" -i Enter interactive mode after executing " LUA_QL("script") ".\n"
" -p file Enable trace profiling to a VMProfile file.\n"
" -v Show version information.\n"
Expand Down Expand Up @@ -115,7 +115,7 @@ static int docall(lua_State *L, int narg, int clear)

static void print_version(void)
{
fputs(LUAJIT_VERSION " -- " LUAJIT_COPYRIGHT ". " LUAJIT_URL "\n", stdout);
fputs(LUAJIT_VERSION " -- " LUAJIT_URL "\n", stdout);
}

static void print_jit_status(lua_State *L)
Expand Down
8 changes: 4 additions & 4 deletions src/luajit.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@

#include "lua.h"

#define LUAJIT_VERSION "LuaJIT 2.1.0-beta2"
#define LUAJIT_VERSION_NUM 20100 /* Version 2.1.0 = 02.01.00. */
#define LUAJIT_VERSION "RaptorJIT 1.0.0-alpha1"
#define LUAJIT_VERSION_NUM 100000 /* Version 1.0.0 = 01.00.00. */
#define LUAJIT_VERSION_SYM luaJIT_version_2_1_0_beta2
#define LUAJIT_COPYRIGHT "Copyright (C) 2005-2017 Mike Pall"
#define LUAJIT_URL "http://luajit.org/"

#define LUAJIT_URL "http://github.com/raptorjit/raptorjit"

/* Modes for luaJIT_setmode. */
#define LUAJIT_MODE_MASK 0x00ff
Expand Down

0 comments on commit 0494515

Please sign in to comment.