Chromium Code Reviews

Unified Diff: src/ia32/codegen-ia32.cc

Issue 660078: Adding 'static const' for arg numbers used with CallCFunction. (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.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « src/arm/regexp-macro-assembler-arm.cc ('k') | src/ia32/regexp-macro-assembler-ia32.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ia32/codegen-ia32.cc
===================================================================
--- src/ia32/codegen-ia32.cc (revision 3947)
+++ src/ia32/codegen-ia32.cc (working copy)
@@ -5743,7 +5743,7 @@
ASSERT(args->length() == 0);
frame_->SpillAll();
- int num_arguments = 0;
+ static const int num_arguments = 0;
__ PrepareCallCFunction(num_arguments, eax);
// Call V8::RandomPositiveSmi().
« no previous file with comments | « src/arm/regexp-macro-assembler-arm.cc ('k') | src/ia32/regexp-macro-assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine