// Test03.cpp
#include "nsIDOMNode.h"
#include "nsCOMPtr.h"
#include "nsString.h"
#ifdef __MWERKS__
#pragma exceptions off
#endif
/*
Windows:
nsCOMPtr_optimized* 45
raw_optimized 48
nsCOMPtr_optimized 50
nsCOMPtr 54
nsCOMPtr* 59
raw 62
Macintosh:
nsCOMPtr_optimized 112 (1.0000)
raw_optimized 124 bytes (1.1071) i.e., 10.71% bigger than nsCOMPtr_optimized
nsCOMPtr 144 (1.2857)
*/
void // nsresult
// m140, w62
{
// -- the following code is assumed, but is commented out so we compare only
// the relevent generated code
// if ( !aDOMNode || !aResult )
// return NS_ERROR_NULL_POINTER;
if ( NS_SUCCEEDED(status) )
{
}
// return status;
}
void // nsresult
// m124, w48
{
// if ( !aDOMNode || !aResult )
// return NS_ERROR_NULL_POINTER;
if ( NS_SUCCEEDED(status) )
{
}
// return status;
}
void // nsresult
// m144, w54/59
{
// if ( !aDOMNode || !aResult )
// return NS_ERROR_NULL_POINTER;
if ( parent )
// return status;
}
void // nsresult
// m112, w50/45
{
// if ( !aDOMNode || !aResult )
// return NS_ERROR_NULL_POINTER;
if ( parent )
// return status;
}