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

Side by Side Diff: src/debug.cc

Issue 6826032: Remove code from the deprecated GenericBinaryOpStub. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 years, 8 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/code-stubs.h ('k') | src/ia32/code-stubs-ia32.h » ('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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 // There is always a possible break point at a debug break slot. 160 // There is always a possible break point at a debug break slot.
161 break_point_++; 161 break_point_++;
162 return; 162 return;
163 } else if (RelocInfo::IsCodeTarget(rmode())) { 163 } else if (RelocInfo::IsCodeTarget(rmode())) {
164 // Check for breakable code target. Look in the original code as setting 164 // Check for breakable code target. Look in the original code as setting
165 // break points can cause the code targets in the running (debugged) code 165 // break points can cause the code targets in the running (debugged) code
166 // to be of a different kind than in the original code. 166 // to be of a different kind than in the original code.
167 Address target = original_rinfo()->target_address(); 167 Address target = original_rinfo()->target_address();
168 Code* code = Code::GetCodeFromTargetAddress(target); 168 Code* code = Code::GetCodeFromTargetAddress(target);
169 if ((code->is_inline_cache_stub() && 169 if ((code->is_inline_cache_stub() &&
170 !code->is_binary_op_stub() &&
171 !code->is_type_recording_binary_op_stub() && 170 !code->is_type_recording_binary_op_stub() &&
172 !code->is_compare_ic_stub()) || 171 !code->is_compare_ic_stub()) ||
173 RelocInfo::IsConstructCall(rmode())) { 172 RelocInfo::IsConstructCall(rmode())) {
174 break_point_++; 173 break_point_++;
175 return; 174 return;
176 } 175 }
177 if (code->kind() == Code::STUB) { 176 if (code->kind() == Code::STUB) {
178 if (IsDebuggerStatement()) { 177 if (IsDebuggerStatement()) {
179 break_point_++; 178 break_point_++;
180 return; 179 return;
(...skipping 2998 matching lines...) Expand 10 before | Expand all | Expand 10 after
3179 { 3178 {
3180 Locker locker; 3179 Locker locker;
3181 Isolate::Current()->debugger()->CallMessageDispatchHandler(); 3180 Isolate::Current()->debugger()->CallMessageDispatchHandler();
3182 } 3181 }
3183 } 3182 }
3184 } 3183 }
3185 3184
3186 #endif // ENABLE_DEBUGGER_SUPPORT 3185 #endif // ENABLE_DEBUGGER_SUPPORT
3187 3186
3188 } } // namespace v8::internal 3187 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/code-stubs.h ('k') | src/ia32/code-stubs-ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698