| OLD | NEW |
| 1 // Copyright 2009 the V8 project authors. All rights reserved. | 1 // Copyright 2009 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 575 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 586 | 586 |
| 587 | 587 |
| 588 void FullCodeGenerator::EmitInlineRuntimeCall(CallRuntime* node) { | 588 void FullCodeGenerator::EmitInlineRuntimeCall(CallRuntime* node) { |
| 589 ZoneList<Expression*>* args = node->arguments(); | 589 ZoneList<Expression*>* args = node->arguments(); |
| 590 Handle<String> name = node->name(); | 590 Handle<String> name = node->name(); |
| 591 Runtime::Function* function = node->function(); | 591 Runtime::Function* function = node->function(); |
| 592 ASSERT(function != NULL); | 592 ASSERT(function != NULL); |
| 593 ASSERT(function->intrinsic_type == Runtime::INLINE); | 593 ASSERT(function->intrinsic_type == Runtime::INLINE); |
| 594 InlineFunctionGenerator generator = | 594 InlineFunctionGenerator generator = |
| 595 FindInlineFunctionGenerator(function->function_id); | 595 FindInlineFunctionGenerator(function->function_id); |
| 596 ASSERT(generator != NULL); | 596 ASSERT(generator != 0); |
| 597 ((*this).*(generator))(args); | 597 ((*this).*(generator))(args); |
| 598 } | 598 } |
| 599 | 599 |
| 600 | 600 |
| 601 void FullCodeGenerator::VisitBinaryOperation(BinaryOperation* expr) { | 601 void FullCodeGenerator::VisitBinaryOperation(BinaryOperation* expr) { |
| 602 Comment cmnt(masm_, "[ BinaryOperation"); | 602 Comment cmnt(masm_, "[ BinaryOperation"); |
| 603 Token::Value op = expr->op(); | 603 Token::Value op = expr->op(); |
| 604 Expression* left = expr->left(); | 604 Expression* left = expr->left(); |
| 605 Expression* right = expr->right(); | 605 Expression* right = expr->right(); |
| 606 | 606 |
| (...skipping 610 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1217 __ Drop(stack_depth); | 1217 __ Drop(stack_depth); |
| 1218 __ PopTryHandler(); | 1218 __ PopTryHandler(); |
| 1219 return 0; | 1219 return 0; |
| 1220 } | 1220 } |
| 1221 | 1221 |
| 1222 | 1222 |
| 1223 #undef __ | 1223 #undef __ |
| 1224 | 1224 |
| 1225 | 1225 |
| 1226 } } // namespace v8::internal | 1226 } } // namespace v8::internal |
| OLD | NEW |