| 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.h" | 5 #include "src/ast.h" |
| 6 | 6 |
| 7 #include <cmath> // For isfinite. | 7 #include <cmath> // For isfinite. |
| 8 #include "src/builtins.h" | 8 #include "src/builtins.h" |
| 9 #include "src/code-stubs.h" | 9 #include "src/code-stubs.h" |
| 10 #include "src/contexts.h" | 10 #include "src/contexts.h" |
| (...skipping 1079 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1090 DONT_OPTIMIZE_NODE(ExportDeclaration) | 1090 DONT_OPTIMIZE_NODE(ExportDeclaration) |
| 1091 DONT_OPTIMIZE_NODE(ModuleVariable) | 1091 DONT_OPTIMIZE_NODE(ModuleVariable) |
| 1092 DONT_OPTIMIZE_NODE(ModulePath) | 1092 DONT_OPTIMIZE_NODE(ModulePath) |
| 1093 DONT_OPTIMIZE_NODE(ModuleUrl) | 1093 DONT_OPTIMIZE_NODE(ModuleUrl) |
| 1094 DONT_OPTIMIZE_NODE(ModuleStatement) | 1094 DONT_OPTIMIZE_NODE(ModuleStatement) |
| 1095 DONT_OPTIMIZE_NODE(WithStatement) | 1095 DONT_OPTIMIZE_NODE(WithStatement) |
| 1096 DONT_OPTIMIZE_NODE(TryCatchStatement) | 1096 DONT_OPTIMIZE_NODE(TryCatchStatement) |
| 1097 DONT_OPTIMIZE_NODE(TryFinallyStatement) | 1097 DONT_OPTIMIZE_NODE(TryFinallyStatement) |
| 1098 DONT_OPTIMIZE_NODE(DebuggerStatement) | 1098 DONT_OPTIMIZE_NODE(DebuggerStatement) |
| 1099 DONT_OPTIMIZE_NODE(NativeFunctionLiteral) | 1099 DONT_OPTIMIZE_NODE(NativeFunctionLiteral) |
| 1100 DONT_OPTIMIZE_NODE(SuperReference) |
| 1100 | 1101 |
| 1101 DONT_OPTIMIZE_NODE_WITH_FEEDBACK_SLOTS(Yield) | 1102 DONT_OPTIMIZE_NODE_WITH_FEEDBACK_SLOTS(Yield) |
| 1102 | 1103 |
| 1103 DONT_SELFOPTIMIZE_NODE(DoWhileStatement) | 1104 DONT_SELFOPTIMIZE_NODE(DoWhileStatement) |
| 1104 DONT_SELFOPTIMIZE_NODE(WhileStatement) | 1105 DONT_SELFOPTIMIZE_NODE(WhileStatement) |
| 1105 DONT_SELFOPTIMIZE_NODE(ForStatement) | 1106 DONT_SELFOPTIMIZE_NODE(ForStatement) |
| 1106 DONT_SELFOPTIMIZE_NODE(ForOfStatement) | 1107 DONT_SELFOPTIMIZE_NODE(ForOfStatement) |
| 1107 | 1108 |
| 1108 DONT_SELFOPTIMIZE_NODE_WITH_FEEDBACK_SLOTS(ForInStatement) | 1109 DONT_SELFOPTIMIZE_NODE_WITH_FEEDBACK_SLOTS(ForInStatement) |
| 1109 | 1110 |
| (...skipping 26 matching lines...) Expand all Loading... |
| 1136 SNPrintF(buffer, "%d", Smi::cast(*value())->value()); | 1137 SNPrintF(buffer, "%d", Smi::cast(*value())->value()); |
| 1137 str = arr; | 1138 str = arr; |
| 1138 } else { | 1139 } else { |
| 1139 str = DoubleToCString(value()->Number(), buffer); | 1140 str = DoubleToCString(value()->Number(), buffer); |
| 1140 } | 1141 } |
| 1141 return isolate_->factory()->NewStringFromAsciiChecked(str); | 1142 return isolate_->factory()->NewStringFromAsciiChecked(str); |
| 1142 } | 1143 } |
| 1143 | 1144 |
| 1144 | 1145 |
| 1145 } } // namespace v8::internal | 1146 } } // namespace v8::internal |
| OLD | NEW |