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

Unified Diff: runtime/vm/intermediate_language.h

Issue 11048032: Support for mixed null/smi equality: do not deoptimize, emit same optimized code as if that was smi… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 2 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
Index: runtime/vm/intermediate_language.h
===================================================================
--- runtime/vm/intermediate_language.h (revision 13236)
+++ runtime/vm/intermediate_language.h (working copy)
@@ -3811,12 +3811,12 @@
class CheckClassInstr : public TemplateInstruction<1> {
public:
CheckClassInstr(Value* value,
- InstanceCallInstr* instance_call,
+ intptr_t deopt_id,
const ICData& unary_checks)
: unary_checks_(unary_checks) {
ASSERT(value != NULL);
inputs_[0] = value;
- deopt_id_ = instance_call->deopt_id();
+ deopt_id_ = deopt_id;
}
DECLARE_INSTRUCTION(CheckClass)

Powered by Google App Engine
This is Rietveld 408576698