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

Side by Side Diff: src/debug/mirrors.js

Issue 2137203002: [intrinsics] Remove obsolete intrinsics. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Really nuke TO_NAME. 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 unified diff | Download patch
« no previous file with comments | « src/crankshaft/hydrogen.cc ('k') | src/full-codegen/full-codegen.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2006-2012 the V8 project authors. All rights reserved. 1 // Copyright 2006-2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 (function(global, utils) { 5 (function(global, utils) {
6 "use strict"; 6 "use strict";
7 7
8 // ---------------------------------------------------------------------------- 8 // ----------------------------------------------------------------------------
9 // Imports 9 // Imports
10 10
(...skipping 767 matching lines...) Expand 10 before | Expand all | Expand 10 after
778 * Return the internal properties for this object as an array of 778 * Return the internal properties for this object as an array of
779 * InternalPropertyMirror objects. 779 * InternalPropertyMirror objects.
780 * @return {Array} Property mirrors for this object 780 * @return {Array} Property mirrors for this object
781 */ 781 */
782 ObjectMirror.prototype.internalProperties = function() { 782 ObjectMirror.prototype.internalProperties = function() {
783 return ObjectMirror.GetInternalProperties(this.value_); 783 return ObjectMirror.GetInternalProperties(this.value_);
784 } 784 }
785 785
786 786
787 ObjectMirror.prototype.property = function(name) { 787 ObjectMirror.prototype.property = function(name) {
788 var details = %DebugGetPropertyDetails(this.value_, TO_NAME(name)); 788 var details = %DebugGetPropertyDetails(this.value_, name);
789 if (details) { 789 if (details) {
790 return new PropertyMirror(this, name, details); 790 return new PropertyMirror(this, name, details);
791 } 791 }
792 792
793 // Nothing found. 793 // Nothing found.
794 return GetUndefinedMirror(); 794 return GetUndefinedMirror();
795 }; 795 };
796 796
797 797
798 798
(...skipping 2252 matching lines...) Expand 10 before | Expand all | Expand 10 after
3051 // Functions needed by the debugger runtime. 3051 // Functions needed by the debugger runtime.
3052 utils.InstallFunctions(utils, DONT_ENUM, [ 3052 utils.InstallFunctions(utils, DONT_ENUM, [
3053 "ClearMirrorCache", ClearMirrorCache 3053 "ClearMirrorCache", ClearMirrorCache
3054 ]); 3054 ]);
3055 3055
3056 // Export to debug.js 3056 // Export to debug.js
3057 utils.Export(function(to) { 3057 utils.Export(function(to) {
3058 to.MirrorType = MirrorType; 3058 to.MirrorType = MirrorType;
3059 }); 3059 });
3060 }) 3060 })
OLDNEW
« no previous file with comments | « src/crankshaft/hydrogen.cc ('k') | src/full-codegen/full-codegen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698