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

Side by Side Diff: src/arm/debug-arm.cc

Issue 543207: Removing redundant stub for runtime native calls. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 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 | « 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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 // make sure that these are correctly updated during GC. 91 // make sure that these are correctly updated during GC.
92 // Use sp as base to push. 92 // Use sp as base to push.
93 __ CopyRegistersFromMemoryToStack(sp, pointer_regs); 93 __ CopyRegistersFromMemoryToStack(sp, pointer_regs);
94 94
95 #ifdef DEBUG 95 #ifdef DEBUG
96 __ RecordComment("// Calling from debug break to runtime - come in - over"); 96 __ RecordComment("// Calling from debug break to runtime - come in - over");
97 #endif 97 #endif
98 __ mov(r0, Operand(0)); // no arguments 98 __ mov(r0, Operand(0)); // no arguments
99 __ mov(r1, Operand(ExternalReference::debug_break())); 99 __ mov(r1, Operand(ExternalReference::debug_break()));
100 100
101 CEntryDebugBreakStub ceb; 101 CEntryStub ceb(1);
102 __ CallStub(&ceb); 102 __ CallStub(&ceb);
103 103
104 // Restore the register values containing object pointers from the expression 104 // Restore the register values containing object pointers from the expression
105 // stack in the reverse order as they where pushed. 105 // stack in the reverse order as they where pushed.
106 // Use sp as base to pop. 106 // Use sp as base to pop.
107 __ CopyRegistersFromStackToMemory(sp, r3, pointer_regs); 107 __ CopyRegistersFromStackToMemory(sp, r3, pointer_regs);
108 108
109 __ LeaveInternalFrame(); 109 __ LeaveInternalFrame();
110 110
111 // Finally restore all registers. 111 // Finally restore all registers.
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 // ----------------------------------- 204 // -----------------------------------
205 Generate_DebugBreakCallHelper(masm, 0); 205 Generate_DebugBreakCallHelper(masm, 0);
206 } 206 }
207 207
208 208
209 #undef __ 209 #undef __
210 210
211 #endif // ENABLE_DEBUGGER_SUPPORT 211 #endif // ENABLE_DEBUGGER_SUPPORT
212 212
213 } } // namespace v8::internal 213 } } // 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