Comments (5)
The runtime function should have LLVM cold
and noreturn
attributes.
from nballerina.
Issue #6 is a usability enhancement to this.
from nballerina.
The follow on to this is #45.
from nballerina.
Things to do:
- For add, sub, mul call the intrinsic and go to basic block's panic label if there's an overflow
- For div and rem, check whether right operand is zero and go to basic block's panic label if it is
- For div, check for MIN/-1 case and go to basic block's panic label if it occurs
- For rem, check for MIN/-1 case and give correct result if it occurs
- Implement abnormal return instruction by calling runtime panic function
- Implement runtime panic function
- Implement passing through of line and column number from source to runtime panic function
- Implement unreachable in nback.llvm
from nballerina.
I have separated out the line/column number support into a separate issue #51, since it is not just a backend issue.
from nballerina.
Related Issues (20)
- Error when defining xml sequence type of length 2 or more
- Revert jni.llvm maven repository to maven central
- Refactor `Field` type to represent its details more obviously HOT 1
- Simplify table complement operator resultant `SubtypeData` representation
- Fix `MAPPING_ATOMIC_RO` being predefined twice HOT 1
- Extend undef for list type
- Calling `generateFunctionCode` twice results in runtime exception HOT 2
- Fix list comparison when the is no contextually expected type
- Type check BIR HOT 1
- Add negative tests for BIR verification HOT 2
- Empty list type has multiple internal representation
- See if we can simply `listFormulaIsEmpty()` with introduction of `undef`
- `SyntaxNode` don't distinguish between exclusive record type without fields and map
- Distinguish `record {| T...; |}` vs `map<T>` in ST and AST HOT 1
- Implement backend support for optional record fields
- Assigning a vararg function to a function value whose type has a fixed number of args is failing
- `testBirCompile` test is failling with 2201.5.0 RC1 HOT 6
- Parsing binary type descriptors with function types is failing
- Invalid record subtype relation HOT 5
- Use property based testing to validate function subtyping and application
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nballerina.