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

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

Issue 2715223003: Revert "[SAB] Move Atomics builtins to C++" (Closed)
Patch Set: another CL to revert Created 3 years, 9 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/builtins/builtins-sharedarraybuffer.cc ('k') | src/heap/heap.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
11 var GlobalArray = global.Array; 11 var GlobalArray = global.Array;
12 var IsNaN = global.isNaN; 12 var IsNaN = global.isNaN;
13 var JSONStringify = global.JSON.stringify; 13 var JSONStringify = global.JSON.stringify;
14 var MapEntries = global.Map.prototype.entries; 14 var MapEntries;
15 var MapIteratorNext = (new global.Map).entries().next; 15 var MapIteratorNext;
16 var SetIteratorNext = (new global.Set).values().next; 16 var SetIteratorNext;
17 var SetValues = global.Set.prototype.values; 17 var SetValues;
18
19 utils.Import(function(from) {
20 MapEntries = from.MapEntries;
21 MapIteratorNext = from.MapIteratorNext;
22 SetIteratorNext = from.SetIteratorNext;
23 SetValues = from.SetValues;
24 });
18 25
19 // ---------------------------------------------------------------------------- 26 // ----------------------------------------------------------------------------
20 27
21 // Mirror hierarchy: 28 // Mirror hierarchy:
22 // - Mirror 29 // - Mirror
23 // - ValueMirror 30 // - ValueMirror
24 // - UndefinedMirror 31 // - UndefinedMirror
25 // - NullMirror 32 // - NullMirror
26 // - BooleanMirror 33 // - BooleanMirror
27 // - NumberMirror 34 // - NumberMirror
(...skipping 2366 matching lines...) Expand 10 before | Expand all | Expand 10 after
2394 "GeneratorMirror", GeneratorMirror, 2401 "GeneratorMirror", GeneratorMirror,
2395 "PropertyMirror", PropertyMirror, 2402 "PropertyMirror", PropertyMirror,
2396 "InternalPropertyMirror", InternalPropertyMirror, 2403 "InternalPropertyMirror", InternalPropertyMirror,
2397 "FrameMirror", FrameMirror, 2404 "FrameMirror", FrameMirror,
2398 "ScriptMirror", ScriptMirror, 2405 "ScriptMirror", ScriptMirror,
2399 "ScopeMirror", ScopeMirror, 2406 "ScopeMirror", ScopeMirror,
2400 "FrameDetails", FrameDetails, 2407 "FrameDetails", FrameDetails,
2401 ]); 2408 ]);
2402 2409
2403 }) 2410 })
OLDNEW
« no previous file with comments | « src/builtins/builtins-sharedarraybuffer.cc ('k') | src/heap/heap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698