41
|
1 |
/*
|
|
2 |
* Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies).
|
|
3 |
* All rights reserved.
|
|
4 |
* This component and the accompanying materials are made available
|
|
5 |
* under the terms of "Eclipse Public License v1.0"
|
|
6 |
* which accompanies this distribution, and is available
|
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
8 |
*
|
|
9 |
* Initial Contributors:
|
|
10 |
* Nokia Corporation - initial contribution.
|
|
11 |
*
|
|
12 |
* Contributors:
|
|
13 |
*
|
|
14 |
* Description:
|
|
15 |
*
|
|
16 |
* Checks if parameter needs 32-bit alignment
|
|
17 |
*
|
|
18 |
*/
|
|
19 |
package com.nokia.tracecompiler.engine.header;
|
|
20 |
|
|
21 |
/**
|
|
22 |
* Checks if parameter needs 32-bit alignment
|
|
23 |
*
|
|
24 |
*/
|
|
25 |
final class CheckParameterNeedsAlignment extends TemplateCheckBase {
|
|
26 |
|
|
27 |
/*
|
|
28 |
* (non-Javadoc)
|
|
29 |
*
|
|
30 |
* @see com.nokia.tracecompiler.engine.header.TemplateCheckBase#check()
|
|
31 |
*/
|
|
32 |
@Override
|
|
33 |
boolean check() {
|
|
34 |
return writer.isParameterAlignmentNeeded();
|
|
35 |
}
|
|
36 |
|
|
37 |
}
|