Index: src/interpreter/bytecode-generator.cc |
diff --git a/src/interpreter/bytecode-generator.cc b/src/interpreter/bytecode-generator.cc |
index 2b9357144eac55bc94072230d6080db0fb275d60..b8b5daf93dae206ea629af6844a34ced2e2253e4 100644 |
--- a/src/interpreter/bytecode-generator.cc |
+++ b/src/interpreter/bytecode-generator.cc |
@@ -1509,11 +1509,11 @@ |
builder()->LoadLiteral(Smi::cast(*value)); |
} else if (value->IsUndefined(isolate())) { |
builder()->LoadUndefined(); |
- } else if (value->IsTrue()) { |
+ } else if (value->IsTrue(isolate())) { |
builder()->LoadTrue(); |
- } else if (value->IsFalse()) { |
+ } else if (value->IsFalse(isolate())) { |
builder()->LoadFalse(); |
- } else if (value->IsNull()) { |
+ } else if (value->IsNull(isolate())) { |
builder()->LoadNull(); |
} else if (value->IsTheHole(isolate())) { |
builder()->LoadTheHole(); |