summaryrefslogtreecommitdiffstats
path: root/compiler/jni
diff options
context:
space:
mode:
authorBrian Carlstrom <bdc@google.com>2013-07-17 23:40:20 -0700
committerBrian Carlstrom <bdc@google.com>2013-07-18 00:12:43 -0700
commit0cd7ec2dcd8d7ba30bf3ca420b40dac52849876c (patch)
tree525a0f99f9381156367c988133b5d51d5dfef6f7 /compiler/jni
parentf69863b3039fc621ff4250e262d2a024d5e79ec8 (diff)
downloadart-0cd7ec2dcd8d7ba30bf3ca420b40dac52849876c.tar.gz
art-0cd7ec2dcd8d7ba30bf3ca420b40dac52849876c.tar.bz2
art-0cd7ec2dcd8d7ba30bf3ca420b40dac52849876c.zip
Fix cpplint whitespace/blank_line issues
Change-Id: Ice937e95e23dd622c17054551d4ae4cebd0ef8a2
Diffstat (limited to 'compiler/jni')
-rw-r--r--compiler/jni/portable/jni_compiler.cc9
-rw-r--r--compiler/jni/quick/x86/calling_convention_x86.cc1
2 files changed, 4 insertions, 6 deletions
diff --git a/compiler/jni/portable/jni_compiler.cc b/compiler/jni/portable/jni_compiler.cc
index 44d0c2d21..57b8a315a 100644
--- a/compiler/jni/portable/jni_compiler.cc
+++ b/compiler/jni/portable/jni_compiler.cc
@@ -46,11 +46,10 @@ using namespace runtime_support;
JniCompiler::JniCompiler(LlvmCompilationUnit* cunit,
const CompilerDriver& driver,
const DexCompilationUnit* dex_compilation_unit)
-: cunit_(cunit), driver_(&driver), module_(cunit_->GetModule()),
- context_(cunit_->GetLLVMContext()), irb_(*cunit_->GetIRBuilder()),
- dex_compilation_unit_(dex_compilation_unit),
- func_(NULL), elf_func_idx_(0) {
-
+ : cunit_(cunit), driver_(&driver), module_(cunit_->GetModule()),
+ context_(cunit_->GetLLVMContext()), irb_(*cunit_->GetIRBuilder()),
+ dex_compilation_unit_(dex_compilation_unit),
+ func_(NULL), elf_func_idx_(0) {
// Check: Ensure that JNI compiler will only get "native" method
CHECK(dex_compilation_unit->IsNative());
}
diff --git a/compiler/jni/quick/x86/calling_convention_x86.cc b/compiler/jni/quick/x86/calling_convention_x86.cc
index b671bd190..45dd42960 100644
--- a/compiler/jni/quick/x86/calling_convention_x86.cc
+++ b/compiler/jni/quick/x86/calling_convention_x86.cc
@@ -159,7 +159,6 @@ size_t X86JniCallingConvention::NumberOfOutgoingStackArgs() {
// count JNIEnv* and return pc (pushed after Method*)
size_t total_args = static_args + param_args + 2;
return total_args;
-
}
} // namespace x86