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

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

Issue 6577036: [Isolates] Merge from bleeding_edge to isolates, revisions 6100-6300. (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/isolates/
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 | « src/ia32/codegen-ia32.cc ('k') | src/ia32/deoptimizer-ia32.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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 __ Assert(zero, "Unable to encode value as smi"); 120 __ Assert(zero, "Unable to encode value as smi");
121 } 121 }
122 __ SmiTag(reg); 122 __ SmiTag(reg);
123 __ push(reg); 123 __ push(reg);
124 } 124 }
125 } 125 }
126 126
127 #ifdef DEBUG 127 #ifdef DEBUG
128 __ RecordComment("// Calling from debug break to runtime - come in - over"); 128 __ RecordComment("// Calling from debug break to runtime - come in - over");
129 #endif 129 #endif
130 __ Set(eax, Immediate(0)); // no arguments 130 __ Set(eax, Immediate(0)); // No arguments.
131 __ mov(ebx, Immediate(ExternalReference::debug_break())); 131 __ mov(ebx, Immediate(ExternalReference::debug_break()));
132 132
133 CEntryStub ceb(1); 133 CEntryStub ceb(1);
134 __ CallStub(&ceb); 134 __ CallStub(&ceb);
135 135
136 // Restore the register values containing object pointers from the expression 136 // Restore the register values containing object pointers from the expression
137 // stack. 137 // stack.
138 for (int i = kNumJSCallerSaved; --i >= 0;) { 138 for (int i = kNumJSCallerSaved; --i >= 0;) {
139 int r = JSCallerSavedCode(i); 139 int r = JSCallerSavedCode(i);
140 Register reg = { r }; 140 Register reg = { r };
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 302
303 const bool Debug::kFrameDropperSupported = true; 303 const bool Debug::kFrameDropperSupported = true;
304 304
305 #undef __ 305 #undef __
306 306
307 #endif // ENABLE_DEBUGGER_SUPPORT 307 #endif // ENABLE_DEBUGGER_SUPPORT
308 308
309 } } // namespace v8::internal 309 } } // namespace v8::internal
310 310
311 #endif // V8_TARGET_ARCH_IA32 311 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/codegen-ia32.cc ('k') | src/ia32/deoptimizer-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698