| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 2377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2388 Handle<JSGlobalPropertyCell> cell = | 2388 Handle<JSGlobalPropertyCell> cell = |
| 2389 isolate()->factory()->NewJSGlobalPropertyCell(uninitialized); | 2389 isolate()->factory()->NewJSGlobalPropertyCell(uninitialized); |
| 2390 RecordTypeFeedbackCell(expr->id(), cell); | 2390 RecordTypeFeedbackCell(expr->id(), cell); |
| 2391 __ mov(r2, Operand(cell)); | 2391 __ mov(r2, Operand(cell)); |
| 2392 } else { | 2392 } else { |
| 2393 flags = NO_CALL_FUNCTION_FLAGS; | 2393 flags = NO_CALL_FUNCTION_FLAGS; |
| 2394 } | 2394 } |
| 2395 | 2395 |
| 2396 CallConstructStub stub(flags); | 2396 CallConstructStub stub(flags); |
| 2397 __ Call(stub.GetCode(), RelocInfo::CONSTRUCT_CALL); | 2397 __ Call(stub.GetCode(), RelocInfo::CONSTRUCT_CALL); |
| 2398 PrepareForBailoutForId(expr->ReturnId(), TOS_REG); |
| 2398 context()->Plug(r0); | 2399 context()->Plug(r0); |
| 2399 } | 2400 } |
| 2400 | 2401 |
| 2401 | 2402 |
| 2402 void FullCodeGenerator::EmitIsSmi(CallRuntime* expr) { | 2403 void FullCodeGenerator::EmitIsSmi(CallRuntime* expr) { |
| 2403 ZoneList<Expression*>* args = expr->arguments(); | 2404 ZoneList<Expression*>* args = expr->arguments(); |
| 2404 ASSERT(args->length() == 1); | 2405 ASSERT(args->length() == 1); |
| 2405 | 2406 |
| 2406 VisitForAccumulatorValue(args->at(0)); | 2407 VisitForAccumulatorValue(args->at(0)); |
| 2407 | 2408 |
| (...skipping 1995 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4403 *context_length = 0; | 4404 *context_length = 0; |
| 4404 return previous_; | 4405 return previous_; |
| 4405 } | 4406 } |
| 4406 | 4407 |
| 4407 | 4408 |
| 4408 #undef __ | 4409 #undef __ |
| 4409 | 4410 |
| 4410 } } // namespace v8::internal | 4411 } } // namespace v8::internal |
| 4411 | 4412 |
| 4412 #endif // V8_TARGET_ARCH_ARM | 4413 #endif // V8_TARGET_ARCH_ARM |
| OLD | NEW |