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

Unified Diff: src/objects-debug.cc

Issue 1300363002: Fix bug in Code::VerifyRecompiledCode. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | test/mjsunit/regress/regress-crbug-522895.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects-debug.cc
diff --git a/src/objects-debug.cc b/src/objects-debug.cc
index 6d87bd7aed8bdcf4af5e0678bd4ba696114625fe..543a528594e05eb27b0dae45cd14eaf47007a087 100644
--- a/src/objects-debug.cc
+++ b/src/objects-debug.cc
@@ -1295,7 +1295,7 @@ void Code::VerifyRecompiledCode(Code* old_code, Code* new_code) {
// Check call target for equality unless it's an IC or an interrupt check.
// In both cases they may be patched to be something else.
if (!old_target->is_handler() && !old_target->is_inline_cache_stub() &&
- new_target == isolate->builtins()->builtin(Builtins::kInterruptCheck)) {
+ new_target != isolate->builtins()->builtin(Builtins::kInterruptCheck)) {
CHECK_EQ(old_target, new_target);
}
old_it.next();
« no previous file with comments | « no previous file | test/mjsunit/regress/regress-crbug-522895.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698