Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(93)

Side by Side Diff: src/arm/full-codegen-arm.cc

Issue 1749002: Fix lint errors (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/arm/codegen-arm.cc ('k') | src/arm/macro-assembler-arm.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2009 the V8 project authors. All rights reserved. 1 // Copyright 2009 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 __ push(r0); 193 __ push(r0);
194 __ CallRuntime(Runtime::kTraceExit, 1); 194 __ CallRuntime(Runtime::kTraceExit, 1);
195 } 195 }
196 196
197 #ifdef DEBUG 197 #ifdef DEBUG
198 // Add a label for checking the size of the code used for returning. 198 // Add a label for checking the size of the code used for returning.
199 Label check_exit_codesize; 199 Label check_exit_codesize;
200 masm_->bind(&check_exit_codesize); 200 masm_->bind(&check_exit_codesize);
201 #endif 201 #endif
202 202
203 { 203 { // NOLINT
204 // Make sure that the constant pool is not emitted inside of the return 204 // Make sure that the constant pool is not emitted inside of the return
205 // sequence. 205 // sequence.
206 Assembler::BlockConstPoolScope block_const_pool(masm_); 206 Assembler::BlockConstPoolScope block_const_pool(masm_);
207 207
208 // Here we use masm_-> instead of the __ macro to avoid the code coverage 208 // Here we use masm_-> instead of the __ macro to avoid the code coverage
209 // tool from instrumenting as we rely on the code size here. 209 // tool from instrumenting as we rely on the code size here.
210 int32_t sp_delta = (scope()->num_parameters() + 1) * kPointerSize; 210 int32_t sp_delta = (scope()->num_parameters() + 1) * kPointerSize;
211 CodeGenerator::RecordPositions(masm_, position); 211 CodeGenerator::RecordPositions(masm_, position);
212 __ RecordJSReturn(); 212 __ RecordJSReturn();
213 masm_->mov(sp, fp); 213 masm_->mov(sp, fp);
(...skipping 1645 matching lines...) Expand 10 before | Expand all | Expand 10 after
1859 __ pop(result_register()); 1859 __ pop(result_register());
1860 ASSERT_EQ(1, kSmiTagSize + kSmiShiftSize); 1860 ASSERT_EQ(1, kSmiTagSize + kSmiShiftSize);
1861 __ mov(r1, Operand(r1, ASR, 1)); // Un-smi-tag value. 1861 __ mov(r1, Operand(r1, ASR, 1)); // Un-smi-tag value.
1862 __ add(pc, r1, Operand(masm_->CodeObject())); 1862 __ add(pc, r1, Operand(masm_->CodeObject()));
1863 } 1863 }
1864 1864
1865 1865
1866 #undef __ 1866 #undef __
1867 1867
1868 } } // namespace v8::internal 1868 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm/codegen-arm.cc ('k') | src/arm/macro-assembler-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698