Merge pull request #31 from haberman/third_party

Moved DynASM to third_party to comply with Google policy.
pull/13171/head
Joshua Haberman 10 years ago
commit 36962f137f
  1. 4
      Makefile
  2. 0
      third_party/dynasm/LICENSE
  3. 10
      third_party/dynasm/README.google
  4. 0
      third_party/dynasm/dasm_arm.h
  5. 0
      third_party/dynasm/dasm_arm.lua
  6. 0
      third_party/dynasm/dasm_mips.h
  7. 0
      third_party/dynasm/dasm_mips.lua
  8. 0
      third_party/dynasm/dasm_ppc.h
  9. 0
      third_party/dynasm/dasm_ppc.lua
  10. 0
      third_party/dynasm/dasm_proto.h
  11. 0
      third_party/dynasm/dasm_x64.lua
  12. 0
      third_party/dynasm/dasm_x86.h
  13. 0
      third_party/dynasm/dasm_x86.lua
  14. 0
      third_party/dynasm/dynasm.lua
  15. 4
      upb/pb/compile_decoder_x64.c

@ -182,7 +182,7 @@ obj/upb/pb/compile_decoder_x64.lo : CSTD = -std=gnu89
upb/pb/compile_decoder_x64.h: upb/pb/compile_decoder_x64.dasc
$(E) DYNASM $<
$(Q) $(LUA) dynasm/dynasm.lua -c upb/pb/compile_decoder_x64.dasc > upb/pb/compile_decoder_x64.h || (rm upb/pb/compile_decoder_x64.h ; false)
$(Q) $(LUA) third_party/dynasm/dynasm.lua -c upb/pb/compile_decoder_x64.dasc > upb/pb/compile_decoder_x64.h || (rm upb/pb/compile_decoder_x64.h ; false)
endif
upb_json_SRCS = \
@ -256,7 +256,7 @@ upb/descriptor/descriptor.pb: upb/descriptor/descriptor.proto
genfiles: upb/descriptor/descriptor.pb tools/upbc
./tools/upbc upb/descriptor/descriptor.pb upb/descriptor/descriptor google_protobuf_descriptor
$(LUA) dynasm/dynasm.lua -c upb/pb/compile_decoder_x64.dasc > upb/pb/compile_decoder_x64.h || (rm upb/pb/compile_decoder_x64.h ; false)
$(LUA) third_party/dynasm/dynasm.lua -c upb/pb/compile_decoder_x64.dasc > upb/pb/compile_decoder_x64.h || (rm upb/pb/compile_decoder_x64.h ; false)
# upbc depends on these Lua extensions.
UPBC_LUA_EXTS = \

@ -0,0 +1,10 @@
URL: http://repo.or.cz/w/luajit-2.0.git/tree/6c05739684527919293e25668589f17c35a7c129:/dynasm
Version: 6c05739684527919293e25668589f17c35a7c129
License: MIT
License File: LICENSE
Description:
Taken from the larger LuaJIT project, DynASM is a tiny preprocessor and
runtime for generating machine code at runtime.
Local Modifications:
No modifications.

@ -129,8 +129,8 @@ static char *upb_vasprintf(const char *fmt, va_list ap);
static char *upb_asprintf(const char *fmt, ...);
#endif
#include "dynasm/dasm_proto.h"
#include "dynasm/dasm_x86.h"
#include "third_party/dynasm/dasm_proto.h"
#include "third_party/dynasm/dasm_x86.h"
#include "upb/pb/compile_decoder_x64.h"
static jitcompiler *newjitcompiler(mgroup *group) {

Loading…
Cancel
Save