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

Unified Diff: src/builtins/mips64/builtins-mips64.cc

Issue 2788123002: MIPS[64]: Fix `[es2015] Simplify contract between parser and stub for derived constructors.` (Closed)
Patch Set: Created 3 years, 9 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/builtins/mips/builtins-mips.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/builtins/mips64/builtins-mips64.cc
diff --git a/src/builtins/mips64/builtins-mips64.cc b/src/builtins/mips64/builtins-mips64.cc
index 2af9aa4b7bfc3cf69d1d7734434167df195d86b7..84a1244b1d86856ce7a19a00f30c8d7bb65fd92e 100644
--- a/src/builtins/mips64/builtins-mips64.cc
+++ b/src/builtins/mips64/builtins-mips64.cc
@@ -577,7 +577,7 @@ void Generate_JSConstructStubHelper(MacroAssembler* masm, bool is_api_function,
// from a derived class is neither undefined nor an Object.
if (check_derived_construct) {
Label do_throw, dont_throw;
- __ JumpIfNotSmi(v0, &do_throw);
+ __ JumpIfSmi(v0, &do_throw);
__ GetObjectType(v0, a1, a3);
STATIC_ASSERT(LAST_JS_RECEIVER_TYPE == LAST_TYPE);
__ Branch(&dont_throw, greater_equal, a3, Operand(FIRST_JS_RECEIVER_TYPE));
« no previous file with comments | « src/builtins/mips/builtins-mips.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698