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

Unified Diff: src/hydrogen-instructions.h

Issue 23198002: Fix Crankshafted CompareNil of constant values (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix both uses of handle_ Created 7 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/constant-compare-nil-value.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/hydrogen-instructions.h
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h
index 7eae85b519d0206c84d51f74a05945e702b05c59..72b8524c08340d4ab6436a45fd76733752ac9340 100644
--- a/src/hydrogen-instructions.h
+++ b/src/hydrogen-instructions.h
@@ -3230,8 +3230,8 @@ class HConstant: public HTemplateInstruction<0> {
}
bool InstanceOf(Handle<Map> map) {
- return handle_->IsJSObject() &&
- Handle<JSObject>::cast(handle_)->map() == *map;
+ return handle()->IsJSObject() &&
+ Handle<JSObject>::cast(handle())->map() == *map;
}
bool IsSpecialDouble() const {
« no previous file with comments | « no previous file | test/mjsunit/constant-compare-nil-value.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698