aboutsummaryrefslogtreecommitdiffstats
path: root/qv4isel_p.h
Commit message (Collapse)AuthorAgeFilesLines
* Correctly set up nested functionsLars Knoll2012-12-131-2/+2
| | | | | | | | | Make sure we have the correct set of nested functions in both IR::Function and VM::Function. This is required so that closures can work correctly. Change-Id: I42493d5ee503090653b71650c8d19e06c4bcfdda Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
* Remove IR::Function from the runtime.Erik Verbruggen2012-12-111-2/+14
| | | | | | | | | | This fixes potential leaks of IR::Functions, lowers the memory usage of the functions that the VM needs (because the IR fields are not present in the VM::Function), and makes both managed by the module respectively the ExecutionEngine. Change-Id: I6748ad98b062f994eae9dd14f1919aec5aa7c0b0 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Keep the EvalISelFactory in the ExecutionEngine.Erik Verbruggen2012-11-211-2/+2
| | | | | | | Also corrected the class name cApiTaliSatiOn. Change-Id: I131566e904c8ee575686a469f16d098dd512d865 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Cleanup instruction selection interface for MASM and MOTH.Erik Verbruggen2012-11-201-2/+1
| | | | | | | This fixes a regression in MOTH. Change-Id: Icd9e2ebf49ab6190bf932a94da03c4171c8d9c61 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Fix isel for eval and a whole bunch of other warnings.Erik Verbruggen2012-11-191-0/+64
| | | | | | | A factory is now passed along to do the codegen for eval(). Change-Id: If15b1f28c9c0a8f8b6d18b56d6e7bc5d942927e5 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Remove dead codeAaron Kennedy2012-06-081-373/+0
|
* Generalized instruction selection.Roberto Raggi2012-05-311-41/+360
| | | | | This will simplify the instruction selection pass for different architectures.
* Propagate exceptionsRoberto Raggi2012-05-251-0/+1
|
* Fix prototypes and implemented isel for constructValue.Roberto Raggi2012-05-211-0/+1
|
* Introduce the ExecutionEngine.Roberto Raggi2012-05-141-2/+2
|
* Store the actual arguments in TEMPs with negative indices.Roberto Raggi2012-05-141-1/+0
| | | | This should make it possible to optimize function calls.
* Fix constructors and some work on the String prototype.Roberto Raggi2012-05-101-0/+1
|
* Add callValue.Roberto Raggi2012-05-091-0/+1
|
* Bind the `this' object.Roberto Raggi2012-05-091-0/+1
|
* Initial support for object literalsRoberto Raggi2012-05-091-0/+1
|
* Add naive support for function calls.Roberto Raggi2012-05-071-0/+1
|
* Move the instruction selection pass.Roberto Raggi2012-05-071-2/+3
|
* Put the code in namespaces.Roberto Raggi2012-05-041-2/+4
|
* Simplify instruction selections for temporariesRoberto Raggi2012-05-041-0/+2
|
* Initial importRoberto Raggi2012-05-031-0/+43