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

Side by Side Diff: src/arm/codegen-arm.cc

Issue 561049: Using RelocInfo instead of DebuggerStatementStub (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 10 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 | src/arm/macro-assembler-arm.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 2275 matching lines...) Expand 10 before | Expand all | Expand 10 after
2286 2286
2287 2287
2288 void CodeGenerator::VisitDebuggerStatement(DebuggerStatement* node) { 2288 void CodeGenerator::VisitDebuggerStatement(DebuggerStatement* node) {
2289 #ifdef DEBUG 2289 #ifdef DEBUG
2290 int original_height = frame_->height(); 2290 int original_height = frame_->height();
2291 #endif 2291 #endif
2292 VirtualFrame::SpilledScope spilled_scope; 2292 VirtualFrame::SpilledScope spilled_scope;
2293 Comment cmnt(masm_, "[ DebuggerStatament"); 2293 Comment cmnt(masm_, "[ DebuggerStatament");
2294 CodeForStatementPosition(node); 2294 CodeForStatementPosition(node);
2295 #ifdef ENABLE_DEBUGGER_SUPPORT 2295 #ifdef ENABLE_DEBUGGER_SUPPORT
2296 DebuggerStatementStub ces; 2296 frame_->DebugBreak();
2297 frame_->CallStub(&ces, 0);
2298 #endif 2297 #endif
2299 // Ignore the return value. 2298 // Ignore the return value.
2300 ASSERT(frame_->height() == original_height); 2299 ASSERT(frame_->height() == original_height);
2301 } 2300 }
2302 2301
2303 2302
2304 void CodeGenerator::InstantiateBoilerplate(Handle<JSFunction> boilerplate) { 2303 void CodeGenerator::InstantiateBoilerplate(Handle<JSFunction> boilerplate) {
2305 VirtualFrame::SpilledScope spilled_scope; 2304 VirtualFrame::SpilledScope spilled_scope;
2306 ASSERT(boilerplate->IsBoilerplate()); 2305 ASSERT(boilerplate->IsBoilerplate());
2307 2306
(...skipping 5153 matching lines...) Expand 10 before | Expand all | Expand 10 after
7461 7460
7462 // Just jump to runtime to add the two strings. 7461 // Just jump to runtime to add the two strings.
7463 __ bind(&string_add_runtime); 7462 __ bind(&string_add_runtime);
7464 __ TailCallRuntime(ExternalReference(Runtime::kStringAdd), 2, 1); 7463 __ TailCallRuntime(ExternalReference(Runtime::kStringAdd), 2, 1);
7465 } 7464 }
7466 7465
7467 7466
7468 #undef __ 7467 #undef __
7469 7468
7470 } } // namespace v8::internal 7469 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | src/arm/macro-assembler-arm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698