OLD | NEW |
1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 7199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7210 | 7210 |
7211 Result number = allocator()->Allocate(); | 7211 Result number = allocator()->Allocate(); |
7212 ASSERT(number.is_valid()); | 7212 ASSERT(number.is_valid()); |
7213 __ movl(number.reg(), FieldOperand(string.reg(), String::kHashFieldOffset)); | 7213 __ movl(number.reg(), FieldOperand(string.reg(), String::kHashFieldOffset)); |
7214 __ IndexFromHash(number.reg(), number.reg()); | 7214 __ IndexFromHash(number.reg(), number.reg()); |
7215 string.Unuse(); | 7215 string.Unuse(); |
7216 frame_->Push(&number); | 7216 frame_->Push(&number); |
7217 } | 7217 } |
7218 | 7218 |
7219 | 7219 |
| 7220 void CodeGenerator::GenerateFastAsciiArrayJoin(ZoneList<Expression*>* args) { |
| 7221 frame_->Push(Factory::undefined_value()); |
| 7222 } |
| 7223 |
| 7224 |
7220 void CodeGenerator::VisitCallRuntime(CallRuntime* node) { | 7225 void CodeGenerator::VisitCallRuntime(CallRuntime* node) { |
7221 if (CheckForInlineRuntimeCall(node)) { | 7226 if (CheckForInlineRuntimeCall(node)) { |
7222 return; | 7227 return; |
7223 } | 7228 } |
7224 | 7229 |
7225 ZoneList<Expression*>* args = node->arguments(); | 7230 ZoneList<Expression*>* args = node->arguments(); |
7226 Comment cmnt(masm_, "[ CallRuntime"); | 7231 Comment cmnt(masm_, "[ CallRuntime"); |
7227 Runtime::Function* function = node->function(); | 7232 Runtime::Function* function = node->function(); |
7228 | 7233 |
7229 if (function == NULL) { | 7234 if (function == NULL) { |
(...skipping 1637 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8867 #undef __ | 8872 #undef __ |
8868 | 8873 |
8869 void RecordWriteStub::Generate(MacroAssembler* masm) { | 8874 void RecordWriteStub::Generate(MacroAssembler* masm) { |
8870 masm->RecordWriteHelper(object_, addr_, scratch_); | 8875 masm->RecordWriteHelper(object_, addr_, scratch_); |
8871 masm->ret(0); | 8876 masm->ret(0); |
8872 } | 8877 } |
8873 | 8878 |
8874 } } // namespace v8::internal | 8879 } } // namespace v8::internal |
8875 | 8880 |
8876 #endif // V8_TARGET_ARCH_X64 | 8881 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |