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

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

Issue 2591923003: [regexp] Remove IsRegExp intrinsic (Closed)
Patch Set: Rebase Created 3 years, 11 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/debug/debug.js ('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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 } else if (IS_STRING(value)) { 141 } else if (IS_STRING(value)) {
142 mirror = new StringMirror(value); 142 mirror = new StringMirror(value);
143 } else if (IS_SYMBOL(value)) { 143 } else if (IS_SYMBOL(value)) {
144 mirror = new SymbolMirror(value); 144 mirror = new SymbolMirror(value);
145 } else if (IS_ARRAY(value)) { 145 } else if (IS_ARRAY(value)) {
146 mirror = new ArrayMirror(value); 146 mirror = new ArrayMirror(value);
147 } else if (IS_DATE(value)) { 147 } else if (IS_DATE(value)) {
148 mirror = new DateMirror(value); 148 mirror = new DateMirror(value);
149 } else if (IS_FUNCTION(value)) { 149 } else if (IS_FUNCTION(value)) {
150 mirror = new FunctionMirror(value); 150 mirror = new FunctionMirror(value);
151 } else if (IS_REGEXP(value)) { 151 } else if (%IsRegExp(value)) {
152 mirror = new RegExpMirror(value); 152 mirror = new RegExpMirror(value);
153 } else if (IS_ERROR(value)) { 153 } else if (IS_ERROR(value)) {
154 mirror = new ErrorMirror(value); 154 mirror = new ErrorMirror(value);
155 } else if (IS_SCRIPT(value)) { 155 } else if (IS_SCRIPT(value)) {
156 mirror = new ScriptMirror(value); 156 mirror = new ScriptMirror(value);
157 } else if (IS_MAP(value) || IS_WEAKMAP(value)) { 157 } else if (IS_MAP(value) || IS_WEAKMAP(value)) {
158 mirror = new MapMirror(value); 158 mirror = new MapMirror(value);
159 } else if (IS_SET(value) || IS_WEAKSET(value)) { 159 } else if (IS_SET(value) || IS_WEAKSET(value)) {
160 mirror = new SetMirror(value); 160 mirror = new SetMirror(value);
161 } else if (IS_MAP_ITERATOR(value) || IS_SET_ITERATOR(value)) { 161 } else if (IS_MAP_ITERATOR(value) || IS_SET_ITERATOR(value)) {
(...skipping 2913 matching lines...) Expand 10 before | Expand all | Expand 10 after
3075 // Functions needed by the debugger runtime. 3075 // Functions needed by the debugger runtime.
3076 utils.InstallFunctions(utils, DONT_ENUM, [ 3076 utils.InstallFunctions(utils, DONT_ENUM, [
3077 "ClearMirrorCache", ClearMirrorCache 3077 "ClearMirrorCache", ClearMirrorCache
3078 ]); 3078 ]);
3079 3079
3080 // Export to debug.js 3080 // Export to debug.js
3081 utils.Export(function(to) { 3081 utils.Export(function(to) {
3082 to.MirrorType = MirrorType; 3082 to.MirrorType = MirrorType;
3083 }); 3083 });
3084 }) 3084 })
OLDNEW
« no previous file with comments | « src/debug/debug.js ('k') | src/full-codegen/arm/full-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698