| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "src/v8.h" | 5 #include "src/v8.h" |
| 6 | 6 |
| 7 #if V8_TARGET_ARCH_ARM | 7 #if V8_TARGET_ARCH_ARM |
| 8 | 8 |
| 9 #include "src/code-factory.h" | 9 #include "src/code-factory.h" |
| 10 #include "src/code-stubs.h" | 10 #include "src/code-stubs.h" |
| (...skipping 2556 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2567 __ CallRuntime(Runtime::kDefineSetterPropertyUnchecked, 4); | 2567 __ CallRuntime(Runtime::kDefineSetterPropertyUnchecked, 4); |
| 2568 break; | 2568 break; |
| 2569 | 2569 |
| 2570 default: | 2570 default: |
| 2571 UNREACHABLE(); | 2571 UNREACHABLE(); |
| 2572 } | 2572 } |
| 2573 } | 2573 } |
| 2574 | 2574 |
| 2575 // Set both the prototype and constructor to have fast properties, and also | 2575 // Set both the prototype and constructor to have fast properties, and also |
| 2576 // freeze them in strong mode. | 2576 // freeze them in strong mode. |
| 2577 __ CallRuntime(is_strong(language_mode()) | 2577 __ CallRuntime(Runtime::kFinalizeClassDefinition, 2); |
| 2578 ? Runtime::kFinalizeClassDefinitionStrong | |
| 2579 : Runtime::kFinalizeClassDefinition, | |
| 2580 2); | |
| 2581 } | 2578 } |
| 2582 | 2579 |
| 2583 | 2580 |
| 2584 void FullCodeGenerator::EmitBinaryOp(BinaryOperation* expr, Token::Value op) { | 2581 void FullCodeGenerator::EmitBinaryOp(BinaryOperation* expr, Token::Value op) { |
| 2585 __ pop(r1); | 2582 __ pop(r1); |
| 2586 Handle<Code> code = | 2583 Handle<Code> code = |
| 2587 CodeFactory::BinaryOpIC(isolate(), op, strength(language_mode())).code(); | 2584 CodeFactory::BinaryOpIC(isolate(), op, strength(language_mode())).code(); |
| 2588 JumpPatchSite patch_site(masm_); // unbound, signals no inlined smi code. | 2585 JumpPatchSite patch_site(masm_); // unbound, signals no inlined smi code. |
| 2589 CallIC(code, expr->BinaryOperationFeedbackId()); | 2586 CallIC(code, expr->BinaryOperationFeedbackId()); |
| 2590 patch_site.EmitPatchInfo(); | 2587 patch_site.EmitPatchInfo(); |
| (...skipping 2879 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5470 DCHECK(interrupt_address == | 5467 DCHECK(interrupt_address == |
| 5471 isolate->builtins()->OsrAfterStackCheck()->entry()); | 5468 isolate->builtins()->OsrAfterStackCheck()->entry()); |
| 5472 return OSR_AFTER_STACK_CHECK; | 5469 return OSR_AFTER_STACK_CHECK; |
| 5473 } | 5470 } |
| 5474 | 5471 |
| 5475 | 5472 |
| 5476 } // namespace internal | 5473 } // namespace internal |
| 5477 } // namespace v8 | 5474 } // namespace v8 |
| 5478 | 5475 |
| 5479 #endif // V8_TARGET_ARCH_ARM | 5476 #endif // V8_TARGET_ARCH_ARM |
| OLD | NEW |