Index: trunk/abdev/BasicCompiler_Common/Subroutine.cpp
===================================================================
--- trunk/abdev/BasicCompiler_Common/Subroutine.cpp	(revision 254)
+++ trunk/abdev/BasicCompiler_Common/Subroutine.cpp	(revision 255)
@@ -415,4 +415,5 @@
 	importedNamespaces.clear();
 
+#ifndef _AMD64_
 	sprintf(temporary,"%c%c_allrem()",1,ESC_SUB);
 	userProcs.Add( namespaceScopes, importedNamespaces, temporary,0,false,NULL,false);
@@ -438,4 +439,5 @@
 	sprintf(temporary,"%c%c_aullshr()",1,ESC_SUB);
 	userProcs.Add( namespaceScopes, importedNamespaces, temporary,0,false,NULL,false);
+#endif
 
 	sprintf(temporary,"%c%c_System_InitStaticLocalVariables()",1,ESC_SUB);
Index: trunk/abdev/BasicCompiler_Common/include/CodeGenerator.h
===================================================================
--- trunk/abdev/BasicCompiler_Common/include/CodeGenerator.h	(revision 254)
+++ trunk/abdev/BasicCompiler_Common/include/CodeGenerator.h	(revision 255)
@@ -352,7 +352,5 @@
 	void op_rep_movs				(int op_size);
 	void op_add_rsp(long num);
-	void op_sub_rsp(long num);
-	void op_add_esp(long num);
-	void op_sub_esp(long num);
+	const PertialSchedule *op_sub_rsp( long num, bool isPertialSchedule = false );
 	void op_fld_ptr_esp(int type);
 	void op_zero_reg(int reg);
