| Index: src/crankshaft/hydrogen.cc
|
| diff --git a/src/crankshaft/hydrogen.cc b/src/crankshaft/hydrogen.cc
|
| index e64b121930e58ca1513f5d172dc77f867882c339..ee235037cb397cd28f47f4119273216326720295 100644
|
| --- a/src/crankshaft/hydrogen.cc
|
| +++ b/src/crankshaft/hydrogen.cc
|
| @@ -12886,6 +12886,13 @@ void HOptimizedGraphBuilder::GenerateDebugIsActive(CallRuntime* call) {
|
| return ast_context()->ReturnValue(value);
|
| }
|
|
|
| +void HOptimizedGraphBuilder::GenerateGetOrdinaryHasInstance(CallRuntime* call) {
|
| + DCHECK(call->arguments()->length() == 0);
|
| + // ordinary_has_instance is immutable so we can treat it as a constant.
|
| + HValue* value = Add<HConstant>(
|
| + handle(isolate()->native_context()->ordinary_has_instance()));
|
| + return ast_context()->ReturnValue(value);
|
| +}
|
|
|
| #undef CHECK_BAILOUT
|
| #undef CHECK_ALIVE
|
|
|