Remove 'print' instrinsic, add 'print' implementation-defined built-in routine to the Global object.

JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan [email protected]
This commit is contained in:
Ruben Ayrapetyan committed 2015-07-31 17:57:59 +03:00
1 parent c715a7cd1d
commit 72d4c07bdc
7 files changed
+100 -55

No files matched your search

+1 -4
View File
@@ -248,10 +248,7 @@ name_to_native_call_id (operand obj)
{
return OPCODE_NATIVE_CALL_WAIT;
}
else if (lit_literal_equal_type_cstr (lit_get_literal_by_cp (obj.data.lit_id), "print"))
{
return OPCODE_NATIVE_CALL_PRINT;
}
return OPCODE_NATIVE_CALL__COUNT;
}