OLD | NEW |
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 #include "src/ast/ast.h" | 5 #include "src/ast/ast.h" |
6 | 6 |
7 #include <cmath> // For isfinite. | 7 #include <cmath> // For isfinite. |
8 | 8 |
9 #include "src/ast/compile-time-value.h" | 9 #include "src/ast/compile-time-value.h" |
10 #include "src/ast/prettyprinter.h" | 10 #include "src/ast/prettyprinter.h" |
(...skipping 1112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1123 #ifdef DEBUG | 1123 #ifdef DEBUG |
1124 return is_jsruntime() ? NameForNativeContextIntrinsicIndex(context_index_) | 1124 return is_jsruntime() ? NameForNativeContextIntrinsicIndex(context_index_) |
1125 : function_->name; | 1125 : function_->name; |
1126 #else | 1126 #else |
1127 return is_jsruntime() ? "(context function)" : function_->name; | 1127 return is_jsruntime() ? "(context function)" : function_->name; |
1128 #endif // DEBUG | 1128 #endif // DEBUG |
1129 } | 1129 } |
1130 | 1130 |
1131 } // namespace internal | 1131 } // namespace internal |
1132 } // namespace v8 | 1132 } // namespace v8 |
| 1133 |
| 1134 // :-] |
OLD | NEW |