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

Unified Diff: src/js/harmony-simd.js

Issue 2117273002: Revert of [intrinsic] Drop the %_ValueOf intrinsic. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 5 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/full-codegen/x87/full-codegen-x87.cc ('k') | src/js/macros.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/js/harmony-simd.js
diff --git a/src/js/harmony-simd.js b/src/js/harmony-simd.js
index 93dc820ed95cedd1fe5a3a18f5225ffbc4ceed57..4df2f437ecb6e62d597fd5d39ee44613d36ba73a 100644
--- a/src/js/harmony-simd.js
+++ b/src/js/harmony-simd.js
@@ -62,7 +62,7 @@
}
function NAMEToString() {
- var value = %ValueOf(this);
+ var value = %_ValueOf(this);
if (typeof(value) !== 'TYPE') {
throw MakeTypeError(kIncompatibleMethodReceiver,
"NAME.prototype.toString", this);
@@ -76,7 +76,7 @@
}
function NAMEToLocaleString() {
- var value = %ValueOf(this);
+ var value = %_ValueOf(this);
if (typeof(value) !== 'TYPE') {
throw MakeTypeError(kIncompatibleMethodReceiver,
"NAME.prototype.toLocaleString", this);
@@ -90,7 +90,7 @@
}
function NAMEValueOf() {
- var value = %ValueOf(this);
+ var value = %_ValueOf(this);
if (typeof(value) !== 'TYPE') {
throw MakeTypeError(kIncompatibleMethodReceiver,
"NAME.prototype.valueOf", this);
« no previous file with comments | « src/full-codegen/x87/full-codegen-x87.cc ('k') | src/js/macros.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698