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

Unified Diff: src/interpreter/bytecode-generator.cc

Issue 2060213002: Revert of Replace all remaining Oddball checks with new function (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 6 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 | « src/ic/ic.cc ('k') | src/isolate-inl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/interpreter/bytecode-generator.cc
diff --git a/src/interpreter/bytecode-generator.cc b/src/interpreter/bytecode-generator.cc
index b8b5daf93dae206ea629af6844a34ced2e2253e4..2b9357144eac55bc94072230d6080db0fb275d60 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(isolate())) {
+ } else if (value->IsTrue()) {
builder()->LoadTrue();
- } else if (value->IsFalse(isolate())) {
+ } else if (value->IsFalse()) {
builder()->LoadFalse();
- } else if (value->IsNull(isolate())) {
+ } else if (value->IsNull()) {
builder()->LoadNull();
} else if (value->IsTheHole(isolate())) {
builder()->LoadTheHole();
« no previous file with comments | « src/ic/ic.cc ('k') | src/isolate-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698