| 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 1044 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1055 REGULAR_NODE(VariableProxy) | 1055 REGULAR_NODE(VariableProxy) |
| 1056 | 1056 |
| 1057 // We currently do not optimize any modules. | 1057 // We currently do not optimize any modules. |
| 1058 DONT_OPTIMIZE_NODE(ModuleDeclaration) | 1058 DONT_OPTIMIZE_NODE(ModuleDeclaration) |
| 1059 DONT_OPTIMIZE_NODE(ImportDeclaration) | 1059 DONT_OPTIMIZE_NODE(ImportDeclaration) |
| 1060 DONT_OPTIMIZE_NODE(ExportDeclaration) | 1060 DONT_OPTIMIZE_NODE(ExportDeclaration) |
| 1061 DONT_OPTIMIZE_NODE(ModuleVariable) | 1061 DONT_OPTIMIZE_NODE(ModuleVariable) |
| 1062 DONT_OPTIMIZE_NODE(ModulePath) | 1062 DONT_OPTIMIZE_NODE(ModulePath) |
| 1063 DONT_OPTIMIZE_NODE(ModuleUrl) | 1063 DONT_OPTIMIZE_NODE(ModuleUrl) |
| 1064 DONT_OPTIMIZE_NODE(ModuleStatement) | 1064 DONT_OPTIMIZE_NODE(ModuleStatement) |
| 1065 DONT_OPTIMIZE_NODE(Yield) |
| 1065 DONT_OPTIMIZE_NODE(WithStatement) | 1066 DONT_OPTIMIZE_NODE(WithStatement) |
| 1066 DONT_OPTIMIZE_NODE(TryCatchStatement) | 1067 DONT_OPTIMIZE_NODE(TryCatchStatement) |
| 1067 DONT_OPTIMIZE_NODE(TryFinallyStatement) | 1068 DONT_OPTIMIZE_NODE(TryFinallyStatement) |
| 1068 DONT_OPTIMIZE_NODE(DebuggerStatement) | 1069 DONT_OPTIMIZE_NODE(DebuggerStatement) |
| 1069 DONT_OPTIMIZE_NODE(SharedFunctionInfoLiteral) | 1070 DONT_OPTIMIZE_NODE(SharedFunctionInfoLiteral) |
| 1070 | 1071 |
| 1071 DONT_SELFOPTIMIZE_NODE(DoWhileStatement) | 1072 DONT_SELFOPTIMIZE_NODE(DoWhileStatement) |
| 1072 DONT_SELFOPTIMIZE_NODE(WhileStatement) | 1073 DONT_SELFOPTIMIZE_NODE(WhileStatement) |
| 1073 DONT_SELFOPTIMIZE_NODE(ForStatement) | 1074 DONT_SELFOPTIMIZE_NODE(ForStatement) |
| 1074 DONT_SELFOPTIMIZE_NODE(ForInStatement) | 1075 DONT_SELFOPTIMIZE_NODE(ForInStatement) |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1109 OS::SNPrintF(buffer, "%d", Smi::cast(*handle_)->value()); | 1110 OS::SNPrintF(buffer, "%d", Smi::cast(*handle_)->value()); |
| 1110 str = arr; | 1111 str = arr; |
| 1111 } else { | 1112 } else { |
| 1112 str = DoubleToCString(handle_->Number(), buffer); | 1113 str = DoubleToCString(handle_->Number(), buffer); |
| 1113 } | 1114 } |
| 1114 return FACTORY->NewStringFromAscii(CStrVector(str)); | 1115 return FACTORY->NewStringFromAscii(CStrVector(str)); |
| 1115 } | 1116 } |
| 1116 | 1117 |
| 1117 | 1118 |
| 1118 } } // namespace v8::internal | 1119 } } // namespace v8::internal |
| OLD | NEW |