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

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

Issue 570001: Fix build error on Win32, fix spelling of DebugerStatementStub. (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 | « src/heap.cc ('k') | src/x64/codegen-x64.cc » ('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 3884 matching lines...) Expand 10 before | Expand all | Expand 10 after
3895 3895
3896 3896
3897 void CodeGenerator::VisitDebuggerStatement(DebuggerStatement* node) { 3897 void CodeGenerator::VisitDebuggerStatement(DebuggerStatement* node) {
3898 ASSERT(!in_spilled_code()); 3898 ASSERT(!in_spilled_code());
3899 Comment cmnt(masm_, "[ DebuggerStatement"); 3899 Comment cmnt(masm_, "[ DebuggerStatement");
3900 CodeForStatementPosition(node); 3900 CodeForStatementPosition(node);
3901 #ifdef ENABLE_DEBUGGER_SUPPORT 3901 #ifdef ENABLE_DEBUGGER_SUPPORT
3902 // Spill everything, even constants, to the frame. 3902 // Spill everything, even constants, to the frame.
3903 frame_->SpillAll(); 3903 frame_->SpillAll();
3904 3904
3905 DebugerStatementStub ces; 3905 DebuggerStatementStub ces;
3906 frame_->CallStub(&ces, 0); 3906 frame_->CallStub(&ces, 0);
3907 // Ignore the return value. 3907 // Ignore the return value.
3908 #endif 3908 #endif
3909 } 3909 }
3910 3910
3911 3911
3912 void CodeGenerator::InstantiateBoilerplate(Handle<JSFunction> boilerplate) { 3912 void CodeGenerator::InstantiateBoilerplate(Handle<JSFunction> boilerplate) {
3913 ASSERT(boilerplate->IsBoilerplate()); 3913 ASSERT(boilerplate->IsBoilerplate());
3914 3914
3915 // The inevitable call will sync frame elements to memory anyway, so 3915 // The inevitable call will sync frame elements to memory anyway, so
(...skipping 6174 matching lines...) Expand 10 before | Expand all | Expand 10 after
10090 10090
10091 // Call the runtime; it returns -1 (less), 0 (equal), or 1 (greater) 10091 // Call the runtime; it returns -1 (less), 0 (equal), or 1 (greater)
10092 // tagged as a small integer. 10092 // tagged as a small integer.
10093 __ bind(&runtime); 10093 __ bind(&runtime);
10094 __ TailCallRuntime(ExternalReference(Runtime::kStringCompare), 2, 1); 10094 __ TailCallRuntime(ExternalReference(Runtime::kStringCompare), 2, 1);
10095 } 10095 }
10096 10096
10097 #undef __ 10097 #undef __
10098 10098
10099 } } // namespace v8::internal 10099 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/heap.cc ('k') | src/x64/codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698