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

Side by Side Diff: src/ia32/code-stubs-ia32.cc

Issue 7017011: Fix presubmit errors. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 years, 7 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 | src/x64/code-stubs-x64.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 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 4236 matching lines...) Expand 10 before | Expand all | Expand 10 after
4247 __ lea(edx, FieldOperand(edx, Code::kHeaderSize)); 4247 __ lea(edx, FieldOperand(edx, Code::kHeaderSize));
4248 __ call(Operand(edx)); 4248 __ call(Operand(edx));
4249 4249
4250 // Unlink this frame from the handler chain. 4250 // Unlink this frame from the handler chain.
4251 __ PopTryHandler(); 4251 __ PopTryHandler();
4252 4252
4253 __ bind(&exit); 4253 __ bind(&exit);
4254 #ifdef ENABLE_LOGGING_AND_PROFILING 4254 #ifdef ENABLE_LOGGING_AND_PROFILING
4255 // Check if the current stack frame is marked as the outermost JS frame. 4255 // Check if the current stack frame is marked as the outermost JS frame.
4256 __ pop(ebx); 4256 __ pop(ebx);
4257 __ cmp(Operand(ebx), Immediate(Smi::FromInt(StackFrame::OUTERMOST_JSENTRY_FRAM E))); 4257 __ cmp(Operand(ebx),
4258 Immediate(Smi::FromInt(StackFrame::OUTERMOST_JSENTRY_FRAME)));
4258 __ j(not_equal, &not_outermost_js_2); 4259 __ j(not_equal, &not_outermost_js_2);
4259 __ mov(Operand::StaticVariable(js_entry_sp), Immediate(0)); 4260 __ mov(Operand::StaticVariable(js_entry_sp), Immediate(0));
4260 __ bind(&not_outermost_js_2); 4261 __ bind(&not_outermost_js_2);
4261 #endif 4262 #endif
4262 4263
4263 // Restore the top frame descriptor from the stack. 4264 // Restore the top frame descriptor from the stack.
4264 __ pop(Operand::StaticVariable(ExternalReference( 4265 __ pop(Operand::StaticVariable(ExternalReference(
4265 Isolate::k_c_entry_fp_address, 4266 Isolate::k_c_entry_fp_address,
4266 masm->isolate()))); 4267 masm->isolate())));
4267 4268
(...skipping 1883 matching lines...) Expand 10 before | Expand all | Expand 10 after
6151 __ Drop(1); 6152 __ Drop(1);
6152 __ ret(2 * kPointerSize); 6153 __ ret(2 * kPointerSize);
6153 } 6154 }
6154 6155
6155 6156
6156 #undef __ 6157 #undef __
6157 6158
6158 } } // namespace v8::internal 6159 } } // namespace v8::internal
6159 6160
6160 #endif // V8_TARGET_ARCH_IA32 6161 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « no previous file | src/x64/code-stubs-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698