Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(26)

Unified Diff: src/arm64/full-codegen-arm64.cc

Issue 700523003: Classes: Partial fix for constructor not calling super (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/arm64/full-codegen-arm64.cc
diff --git a/src/arm64/full-codegen-arm64.cc b/src/arm64/full-codegen-arm64.cc
index 426287540e4e2b523b9ed40c9030504f5ee79cf3..74b8803173c65275d8248224c0343ace5171b12a 100644
--- a/src/arm64/full-codegen-arm64.cc
+++ b/src/arm64/full-codegen-arm64.cc
@@ -437,7 +437,9 @@ void FullCodeGenerator::EmitReturnSequence() {
{
InstructionAccurateScope scope(masm_,
Assembler::kJSRetSequenceInstructions);
- CodeGenerator::RecordPositions(masm_, function()->end_position() - 1);
+ if (function()->end_position() != RelocInfo::kNoPosition) {
+ CodeGenerator::RecordPositions(masm_, function()->end_position() - 1);
+ }
__ RecordJSReturn();
// This code is generated using Assembler methods rather than Macro
// Assembler methods because it will be patched later on, and so the size

Powered by Google App Engine
This is Rietveld 408576698