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

Side by Side Diff: src/mips/debug-mips.cc

Issue 345243005: MIPS: Fix comment in r21905: "Support LiveEdit." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 months 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 5
6 6
7 #include "src/v8.h" 7 #include "src/v8.h"
8 8
9 #if V8_TARGET_ARCH_MIPS 9 #if V8_TARGET_ARCH_MIPS
10 10
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 __ Pop(ra, fp, a1); // Return address, Frame, Function. 320 __ Pop(ra, fp, a1); // Return address, Frame, Function.
321 321
322 // Load context from the function. 322 // Load context from the function.
323 __ lw(cp, FieldMemOperand(a1, JSFunction::kContextOffset)); 323 __ lw(cp, FieldMemOperand(a1, JSFunction::kContextOffset));
324 324
325 // Get function code. 325 // Get function code.
326 __ lw(at, FieldMemOperand(a1, JSFunction::kSharedFunctionInfoOffset)); 326 __ lw(at, FieldMemOperand(a1, JSFunction::kSharedFunctionInfoOffset));
327 __ lw(at, FieldMemOperand(at, SharedFunctionInfo::kCodeOffset)); 327 __ lw(at, FieldMemOperand(at, SharedFunctionInfo::kCodeOffset));
328 __ Addu(t9, at, Operand(Code::kHeaderSize - kHeapObjectTag)); 328 __ Addu(t9, at, Operand(Code::kHeaderSize - kHeapObjectTag));
329 329
330 // Re-run JSFunction, r1 is function, cp is context. 330 // Re-run JSFunction, a1 is function, cp is context.
331 __ Jump(t9); 331 __ Jump(t9);
332 } 332 }
333 333
334 334
335 const bool LiveEdit::kFrameDropperSupported = true; 335 const bool LiveEdit::kFrameDropperSupported = true;
336 336
337 #undef __ 337 #undef __
338 338
339 } } // namespace v8::internal 339 } } // namespace v8::internal
340 340
341 #endif // V8_TARGET_ARCH_MIPS 341 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698