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

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

Issue 1692193002: [runtime] Remove obsolete %ObjectEquals runtime entry. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 10 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/arm/full-codegen-arm.cc » ('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 794 matching lines...) Expand 10 before | Expand all | Expand 10 after
805 */ 805 */
806 ObjectMirror.prototype.lookupProperty = function(value) { 806 ObjectMirror.prototype.lookupProperty = function(value) {
807 var properties = this.properties(); 807 var properties = this.properties();
808 808
809 // Look for property value in properties. 809 // Look for property value in properties.
810 for (var i = 0; i < properties.length; i++) { 810 for (var i = 0; i < properties.length; i++) {
811 811
812 // Skip properties which are defined through accessors. 812 // Skip properties which are defined through accessors.
813 var property = properties[i]; 813 var property = properties[i];
814 if (property.propertyType() != PropertyType.AccessorConstant) { 814 if (property.propertyType() != PropertyType.AccessorConstant) {
815 if (%_ObjectEquals(property.value_, value.value_)) { 815 if (property.value_ === value.value_) {
816 return property; 816 return property;
817 } 817 }
818 } 818 }
819 } 819 }
820 820
821 // Nothing found. 821 // Nothing found.
822 return GetUndefinedMirror(); 822 return GetUndefinedMirror();
823 }; 823 };
824 824
825 825
(...skipping 2218 matching lines...) Expand 10 before | Expand all | Expand 10 after
3044 // Functions needed by the debugger runtime. 3044 // Functions needed by the debugger runtime.
3045 utils.InstallFunctions(utils, DONT_ENUM, [ 3045 utils.InstallFunctions(utils, DONT_ENUM, [
3046 "ClearMirrorCache", ClearMirrorCache 3046 "ClearMirrorCache", ClearMirrorCache
3047 ]); 3047 ]);
3048 3048
3049 // Export to debug.js 3049 // Export to debug.js
3050 utils.Export(function(to) { 3050 utils.Export(function(to) {
3051 to.MirrorType = MirrorType; 3051 to.MirrorType = MirrorType;
3052 }); 3052 });
3053 }) 3053 })
OLDNEW
« 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