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

Unified Diff: src/debug/mirrors.js

Issue 2126453002: [intrinsic] Drop the %_ValueOf intrinsic. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix noi18n build (narf) 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/crankshaft/hydrogen.cc ('k') | src/full-codegen/arm/full-codegen-arm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/debug/mirrors.js
diff --git a/src/debug/mirrors.js b/src/debug/mirrors.js
index 2e7920d9b4ff4d9a27f28944f7d5d128eac8d683..adf5133da5e9f7961d8017f5c634f612de498659 100644
--- a/src/debug/mirrors.js
+++ b/src/debug/mirrors.js
@@ -19,7 +19,6 @@ var promiseStateSymbol = utils.ImportNow("promise_state_symbol");
var promiseResultSymbol = utils.ImportNow("promise_result_symbol");
var SetIteratorNext;
var SetValues;
-var SymbolToString;
utils.Import(function(from) {
ErrorToString = from.ErrorToString;
@@ -28,7 +27,6 @@ utils.Import(function(from) {
MapIteratorNext = from.MapIteratorNext;
SetIteratorNext = from.SetIteratorNext;
SetValues = from.SetValues;
- SymbolToString = from.SymbolToString;
});
// ----------------------------------------------------------------------------
@@ -686,12 +684,12 @@ inherits(SymbolMirror, ValueMirror);
SymbolMirror.prototype.description = function() {
- return %SymbolDescription(%_ValueOf(this.value_));
+ return %SymbolDescription(%ValueOf(this.value_));
}
SymbolMirror.prototype.toText = function() {
- return %_Call(SymbolToString, this.value_);
+ return %SymbolDescriptiveString(%ValueOf(this.value_));
}
« no previous file with comments | « src/crankshaft/hydrogen.cc ('k') | src/full-codegen/arm/full-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698