Skip to content

Commit

Permalink
Bump dependency versions; update Travis configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
dirk committed May 11, 2015
1 parent 7bdca7e commit c56612e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
language: node_js
node_js:
- "0.12"
- "iojs"
- "iojs-v1.0.4"
before_install:
# Setup sources and keys for LLVM
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
"pegjs": "~0.8.0",
"optimist": "~0.6.1",
"xregexp": "~2.0.0",
"llvm2": "0.2.12",
"llvm2": "0.2.13",
"requirejs": "~2.1.17",
"lodash": "~3.7.0",
"lodash": "~3.8.0",
"source-map": "~0.4.2",
"inline-source-map-comment": "~1.0.5",
"source-map-support": "~0.2.10",
Expand All @@ -19,7 +19,7 @@
"typescript": "1.5.0-beta",
"jake": "~8.0.12",
"mocha": "~2.2.1",
"esprima": "~2.1.0",
"esprima": "~2.2.0",
"expect.js": "~0.3.1",
"esprima": "~2.1.0",
"blanket": "~1.1.6",
Expand Down
5 changes: 2 additions & 3 deletions src/targets/llvm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -807,9 +807,8 @@ export class LLVMCompiler {
booleanValue = true
} else if (literal.value === 'false') {
booleanValue = false
}
if (booleanValue === null) {
throw new ICE('Unexpected null value when compiling boolean Literal')
} else {
throw new ICE("Unexpected value when compiling boolean literal: '"+literal.value+"'")
}
return LLVM.Library.LLVMConstInt(Int1Type, booleanValue ? 1 : 0, '')
default:
Expand Down

0 comments on commit c56612e

Please sign in to comment.