OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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 #include "src/v8.h" | 5 #include "src/runtime/runtime-utils.h" |
6 | 6 |
7 #include "src/arguments.h" | 7 #include "src/arguments.h" |
8 #include "src/base/bits.h" | 8 #include "src/base/bits.h" |
9 #include "src/bootstrapper.h" | 9 #include "src/bootstrapper.h" |
10 #include "src/codegen.h" | 10 #include "src/codegen.h" |
11 #include "src/runtime/runtime-utils.h" | |
12 | 11 |
13 | 12 |
14 #ifndef _STLP_VENDOR_CSTD | 13 #ifndef _STLP_VENDOR_CSTD |
15 // STLPort doesn't import fpclassify and isless into the std namespace. | 14 // STLPort doesn't import fpclassify and isless into the std namespace. |
16 using std::fpclassify; | 15 using std::fpclassify; |
17 using std::isless; | 16 using std::isless; |
18 #endif | 17 #endif |
19 | 18 |
20 namespace v8 { | 19 namespace v8 { |
21 namespace internal { | 20 namespace internal { |
(...skipping 535 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
557 } | 556 } |
558 | 557 |
559 | 558 |
560 RUNTIME_FUNCTION(Runtime_GetRootNaN) { | 559 RUNTIME_FUNCTION(Runtime_GetRootNaN) { |
561 SealHandleScope shs(isolate); | 560 SealHandleScope shs(isolate); |
562 DCHECK(args.length() == 0); | 561 DCHECK(args.length() == 0); |
563 return isolate->heap()->nan_value(); | 562 return isolate->heap()->nan_value(); |
564 } | 563 } |
565 } // namespace internal | 564 } // namespace internal |
566 } // namespace v8 | 565 } // namespace v8 |
OLD | NEW |