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

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

Issue 190793002: Introduce FrameAndConstantPoolScope and ConstantPoolUnavailableScope. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Sync Created 6 years, 9 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/code-stubs-arm.cc ('k') | src/arm/full-codegen-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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 const bool Debug::FramePaddingLayout::kIsSupported = false; 110 const bool Debug::FramePaddingLayout::kIsSupported = false;
111 111
112 112
113 #define __ ACCESS_MASM(masm) 113 #define __ ACCESS_MASM(masm)
114 114
115 115
116 static void Generate_DebugBreakCallHelper(MacroAssembler* masm, 116 static void Generate_DebugBreakCallHelper(MacroAssembler* masm,
117 RegList object_regs, 117 RegList object_regs,
118 RegList non_object_regs) { 118 RegList non_object_regs) {
119 { 119 {
120 FrameScope scope(masm, StackFrame::INTERNAL); 120 FrameAndConstantPoolScope scope(masm, StackFrame::INTERNAL);
121 121
122 // Store the registers containing live values on the expression stack to 122 // Store the registers containing live values on the expression stack to
123 // make sure that these are correctly updated during GC. Non object values 123 // make sure that these are correctly updated during GC. Non object values
124 // are stored as a smi causing it to be untouched by GC. 124 // are stored as a smi causing it to be untouched by GC.
125 ASSERT((object_regs & ~kJSCallerSaved) == 0); 125 ASSERT((object_regs & ~kJSCallerSaved) == 0);
126 ASSERT((non_object_regs & ~kJSCallerSaved) == 0); 126 ASSERT((non_object_regs & ~kJSCallerSaved) == 0);
127 ASSERT((object_regs & non_object_regs) == 0); 127 ASSERT((object_regs & non_object_regs) == 0);
128 if ((object_regs | non_object_regs) != 0) { 128 if ((object_regs | non_object_regs) != 0) {
129 for (int i = 0; i < kNumJSCallerSaved; i++) { 129 for (int i = 0; i < kNumJSCallerSaved; i++) {
130 int r = JSCallerSavedCode(i); 130 int r = JSCallerSavedCode(i);
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 329
330 #undef __ 330 #undef __
331 331
332 332
333 333
334 #endif // ENABLE_DEBUGGER_SUPPORT 334 #endif // ENABLE_DEBUGGER_SUPPORT
335 335
336 } } // namespace v8::internal 336 } } // namespace v8::internal
337 337
338 #endif // V8_TARGET_ARCH_ARM 338 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/arm/code-stubs-arm.cc ('k') | src/arm/full-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698