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

Side by Side Diff: src/js/v8natives.js

Issue 2726853006: Remove GetRootNaN (Closed)
Patch Set: 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 | « no previous file | src/runtime/runtime.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 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 6
7 %CheckIsBootstrapping(); 7 %CheckIsBootstrapping();
8 8
9 // ---------------------------------------------------------------------------- 9 // ----------------------------------------------------------------------------
10 // Imports 10 // Imports
11 11
12 var GlobalObject = global.Object; 12 var GlobalObject = global.Object;
13 var iteratorSymbol = utils.ImportNow("iterator_symbol"); 13 var iteratorSymbol = utils.ImportNow("iterator_symbol");
14 var NaN = %GetRootNaN();
15 var ObjectToString = utils.ImportNow("object_to_string"); 14 var ObjectToString = utils.ImportNow("object_to_string");
16 15
17 // ---------------------------------------------------------------------------- 16 // ----------------------------------------------------------------------------
18 17
19 18
20 // Set up global object. 19 // Set up global object.
21 var attributes = DONT_ENUM | DONT_DELETE | READ_ONLY; 20 var attributes = DONT_ENUM | DONT_DELETE | READ_ONLY;
22 21
23 22
24 // ---------------------------------------------------------------------------- 23 // ----------------------------------------------------------------------------
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 to.GetIterator = GetIterator; 110 to.GetIterator = GetIterator;
112 to.GetMethod = GetMethod; 111 to.GetMethod = GetMethod;
113 to.ObjectHasOwnProperty = GlobalObject.prototype.hasOwnProperty; 112 to.ObjectHasOwnProperty = GlobalObject.prototype.hasOwnProperty;
114 }); 113 });
115 114
116 %InstallToContext([ 115 %InstallToContext([
117 "object_value_of", ObjectValueOf, 116 "object_value_of", ObjectValueOf,
118 ]); 117 ]);
119 118
120 }) 119 })
OLDNEW
« no previous file with comments | « no previous file | src/runtime/runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698