Commit 49d68568 authored by sgjesse@chromium.org's avatar sgjesse@chromium.org

Minor formatting changes.

Review URL: http://codereview.chromium.org/1766005

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4470 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 5a8d9a42
...@@ -117,11 +117,10 @@ void MacroAssembler::Call(intptr_t target, RelocInfo::Mode rmode, ...@@ -117,11 +117,10 @@ void MacroAssembler::Call(intptr_t target, RelocInfo::Mode rmode,
// ldr ip, [pc, #...] // ldr ip, [pc, #...]
// blx ip // blx ip
{ // NOLINT // The two instructions (ldr and blx) could be separated by a constant
// The two instructions (ldr and blx) could be separated by a constant // pool and the code would still work. The issue comes from the
// pool and the code would still work. The issue comes from the // patching code which expect the ldr to be just above the blx.
// patching code which expect the ldr to be just above the blx. { BlockConstPoolScope block_const_pool(this);
BlockConstPoolScope block_const_pool(this);
// Statement positions are expected to be recorded when the target // Statement positions are expected to be recorded when the target
// address is loaded. The mov method will automatically record // address is loaded. The mov method will automatically record
// positions when pc is the target, since this is not the case here // positions when pc is the target, since this is not the case here
......
...@@ -154,8 +154,7 @@ void CodeGenerator::Generate(CompilationInfo* info) { ...@@ -154,8 +154,7 @@ void CodeGenerator::Generate(CompilationInfo* info) {
#endif #endif
// New scope to get automatic timing calculation. // New scope to get automatic timing calculation.
{ // NOLINT { HistogramTimerScope codegen_timer(&Counters::code_generation);
HistogramTimerScope codegen_timer(&Counters::code_generation);
CodeGenState state(this); CodeGenState state(this);
// Entry: // Entry:
...@@ -9810,8 +9809,7 @@ void TranscendentalCacheStub::Generate(MacroAssembler* masm) { ...@@ -9810,8 +9809,7 @@ void TranscendentalCacheStub::Generate(MacroAssembler* masm) {
__ j(zero, &runtime_call_clear_stack); __ j(zero, &runtime_call_clear_stack);
#ifdef DEBUG #ifdef DEBUG
// Check that the layout of cache elements match expectations. // Check that the layout of cache elements match expectations.
{ // NOLINT - doesn't like a single brace on a line. { TranscendentalCache::Element test_elem[2];
TranscendentalCache::Element test_elem[2];
char* elem_start = reinterpret_cast<char*>(&test_elem[0]); char* elem_start = reinterpret_cast<char*>(&test_elem[0]);
char* elem2_start = reinterpret_cast<char*>(&test_elem[1]); char* elem2_start = reinterpret_cast<char*>(&test_elem[1]);
char* elem_in0 = reinterpret_cast<char*>(&(test_elem[0].in[0])); char* elem_in0 = reinterpret_cast<char*>(&(test_elem[0].in[0]));
......
...@@ -304,8 +304,7 @@ void CodeGenerator::Generate(CompilationInfo* info) { ...@@ -304,8 +304,7 @@ void CodeGenerator::Generate(CompilationInfo* info) {
#endif #endif
// New scope to get automatic timing calculation. // New scope to get automatic timing calculation.
{ // NOLINT { HistogramTimerScope codegen_timer(&Counters::code_generation);
HistogramTimerScope codegen_timer(&Counters::code_generation);
CodeGenState state(this); CodeGenState state(this);
// Entry: // Entry:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment