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

Side by Side Diff: src/ia32/macro-assembler-ia32.cc

Issue 6260021: Fix indentation. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 10 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 1270 matching lines...) Expand 10 before | Expand all | Expand 10 after
1281 sub(Operand::StaticVariable(level_address), Immediate(1)); 1281 sub(Operand::StaticVariable(level_address), Immediate(1));
1282 Assert(above_equal, "Invalid HandleScope level"); 1282 Assert(above_equal, "Invalid HandleScope level");
1283 cmp(edi, Operand::StaticVariable(limit_address)); 1283 cmp(edi, Operand::StaticVariable(limit_address));
1284 j(not_equal, &delete_allocated_handles, not_taken); 1284 j(not_equal, &delete_allocated_handles, not_taken);
1285 bind(&leave_exit_frame); 1285 bind(&leave_exit_frame);
1286 1286
1287 // Check if the function scheduled an exception. 1287 // Check if the function scheduled an exception.
1288 ExternalReference scheduled_exception_address = 1288 ExternalReference scheduled_exception_address =
1289 ExternalReference::scheduled_exception_address(); 1289 ExternalReference::scheduled_exception_address();
1290 cmp(Operand::StaticVariable(scheduled_exception_address), 1290 cmp(Operand::StaticVariable(scheduled_exception_address),
1291 Immediate(Factory::the_hole_value())); 1291 Immediate(Factory::the_hole_value()));
1292 j(not_equal, &promote_scheduled_exception, not_taken); 1292 j(not_equal, &promote_scheduled_exception, not_taken);
1293 LeaveApiExitFrame(); 1293 LeaveApiExitFrame();
1294 ret(stack_space * kPointerSize); 1294 ret(stack_space * kPointerSize);
1295 bind(&promote_scheduled_exception); 1295 bind(&promote_scheduled_exception);
1296 MaybeObject* result = 1296 MaybeObject* result =
1297 TryTailCallRuntime(Runtime::kPromoteScheduledException, 0, 1); 1297 TryTailCallRuntime(Runtime::kPromoteScheduledException, 0, 1);
1298 if (result->IsFailure()) { 1298 if (result->IsFailure()) {
1299 return result; 1299 return result;
1300 } 1300 }
1301 bind(&empty_handle); 1301 bind(&empty_handle);
(...skipping 587 matching lines...) Expand 10 before | Expand all | Expand 10 after
1889 1889
1890 // Check that the code was patched as expected. 1890 // Check that the code was patched as expected.
1891 ASSERT(masm_.pc_ == address_ + size_); 1891 ASSERT(masm_.pc_ == address_ + size_);
1892 ASSERT(masm_.reloc_info_writer.pos() == address_ + size_ + Assembler::kGap); 1892 ASSERT(masm_.reloc_info_writer.pos() == address_ + size_ + Assembler::kGap);
1893 } 1893 }
1894 1894
1895 1895
1896 } } // namespace v8::internal 1896 } } // namespace v8::internal
1897 1897
1898 #endif // V8_TARGET_ARCH_IA32 1898 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698