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

Unified Diff: src/objects.h

Issue 1369123002: [Interpreter] Add interpreter support for compare ops and ToBoolean. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Incorporate review feedback from mstarzinger and rmcilroy. Created 5 years, 3 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/interpreter/interpreter.cc ('k') | src/runtime/runtime.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index 5766a8ccfb18b0f89490d14df13a8d6318e6c31e..6d04acab31b8e23cd2c2cd96a49b8775a4102d86 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -815,7 +815,7 @@ enum CompareResult {
enum class ComparisonResult {
kLessThan, // x < y
kEqual, // x = y
- kGreaterThan, // x > x
+ kGreaterThan, // x > y
kUndefined // at least one of x or y was undefined or NaN
};
« no previous file with comments | « src/interpreter/interpreter.cc ('k') | src/runtime/runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698