Refinement of exception handling code in 'multiplication' and 'assignment' opcode handlers.

This commit is contained in:
Ruben Ayrapetyan
2014-07-22 17:23:29 +04:00
parent 739d19be5b
commit f0abfbb31b
4 changed files with 173 additions and 132 deletions
+6
View File
@@ -95,6 +95,12 @@ extern void jerry_RefUnusedVariables(int unused_variables_follow, ...);
#define JERRY_UNIMPLEMENTED() JERRY_UNREACHABLE()
#define JERRY_UNIMPLEMENTED_REF_UNUSED_VARS(...) do { JERRY_UNIMPLEMENTED(); if ( false ) { jerry_RefUnusedVariables( 0, __VA_ARGS__); } } while (0)
/**
* Conditions' likeliness, unlikeliness.
*/
#define likely( x ) ( __builtin_expect( !!( x ), 1 ) )
#define unlikely( x ) ( __builtin_expect( !!( x ), 0 ) )
/**
* Exit
*/