OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 1046 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1057 REGULAR_NODE(VariableProxy) | 1057 REGULAR_NODE(VariableProxy) |
1058 | 1058 |
1059 // We currently do not optimize any modules. | 1059 // We currently do not optimize any modules. |
1060 DONT_OPTIMIZE_NODE(ModuleDeclaration) | 1060 DONT_OPTIMIZE_NODE(ModuleDeclaration) |
1061 DONT_OPTIMIZE_NODE(ImportDeclaration) | 1061 DONT_OPTIMIZE_NODE(ImportDeclaration) |
1062 DONT_OPTIMIZE_NODE(ExportDeclaration) | 1062 DONT_OPTIMIZE_NODE(ExportDeclaration) |
1063 DONT_OPTIMIZE_NODE(ModuleVariable) | 1063 DONT_OPTIMIZE_NODE(ModuleVariable) |
1064 DONT_OPTIMIZE_NODE(ModulePath) | 1064 DONT_OPTIMIZE_NODE(ModulePath) |
1065 DONT_OPTIMIZE_NODE(ModuleUrl) | 1065 DONT_OPTIMIZE_NODE(ModuleUrl) |
1066 DONT_OPTIMIZE_NODE(ModuleStatement) | 1066 DONT_OPTIMIZE_NODE(ModuleStatement) |
| 1067 DONT_OPTIMIZE_NODE(Yield) |
1067 DONT_OPTIMIZE_NODE(WithStatement) | 1068 DONT_OPTIMIZE_NODE(WithStatement) |
1068 DONT_OPTIMIZE_NODE(TryCatchStatement) | 1069 DONT_OPTIMIZE_NODE(TryCatchStatement) |
1069 DONT_OPTIMIZE_NODE(TryFinallyStatement) | 1070 DONT_OPTIMIZE_NODE(TryFinallyStatement) |
1070 DONT_OPTIMIZE_NODE(DebuggerStatement) | 1071 DONT_OPTIMIZE_NODE(DebuggerStatement) |
1071 DONT_OPTIMIZE_NODE(SharedFunctionInfoLiteral) | 1072 DONT_OPTIMIZE_NODE(SharedFunctionInfoLiteral) |
1072 | 1073 |
1073 DONT_INLINE_NODE(ArrayLiteral) // TODO(1322): Allow materialized literals. | 1074 DONT_INLINE_NODE(ArrayLiteral) // TODO(1322): Allow materialized literals. |
1074 DONT_INLINE_NODE(FunctionLiteral) | 1075 DONT_INLINE_NODE(FunctionLiteral) |
1075 | 1076 |
1076 DONT_SELFOPTIMIZE_NODE(DoWhileStatement) | 1077 DONT_SELFOPTIMIZE_NODE(DoWhileStatement) |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1115 OS::SNPrintF(buffer, "%d", Smi::cast(*handle_)->value()); | 1116 OS::SNPrintF(buffer, "%d", Smi::cast(*handle_)->value()); |
1116 str = arr; | 1117 str = arr; |
1117 } else { | 1118 } else { |
1118 str = DoubleToCString(handle_->Number(), buffer); | 1119 str = DoubleToCString(handle_->Number(), buffer); |
1119 } | 1120 } |
1120 return FACTORY->NewStringFromAscii(CStrVector(str)); | 1121 return FACTORY->NewStringFromAscii(CStrVector(str)); |
1121 } | 1122 } |
1122 | 1123 |
1123 | 1124 |
1124 } } // namespace v8::internal | 1125 } } // namespace v8::internal |
OLD | NEW |