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

Side by Side Diff: src/runtime.h

Issue 2899004: Add number allocation call to runtime.cc instead of misusing (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 5 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/ia32/full-codegen-ia32.cc ('k') | src/x64/full-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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 F(NumberToJSInt32, 1, 1) \ 108 F(NumberToJSInt32, 1, 1) \
109 F(NumberToSmi, 1, 1) \ 109 F(NumberToSmi, 1, 1) \
110 \ 110 \
111 /* Arithmetic operations */ \ 111 /* Arithmetic operations */ \
112 F(NumberAdd, 2, 1) \ 112 F(NumberAdd, 2, 1) \
113 F(NumberSub, 2, 1) \ 113 F(NumberSub, 2, 1) \
114 F(NumberMul, 2, 1) \ 114 F(NumberMul, 2, 1) \
115 F(NumberDiv, 2, 1) \ 115 F(NumberDiv, 2, 1) \
116 F(NumberMod, 2, 1) \ 116 F(NumberMod, 2, 1) \
117 F(NumberUnaryMinus, 1, 1) \ 117 F(NumberUnaryMinus, 1, 1) \
118 F(NumberAlloc, 0, 1) \
118 \ 119 \
119 F(StringAdd, 2, 1) \ 120 F(StringAdd, 2, 1) \
120 F(StringBuilderConcat, 3, 1) \ 121 F(StringBuilderConcat, 3, 1) \
121 \ 122 \
122 /* Bit operations */ \ 123 /* Bit operations */ \
123 F(NumberOr, 2, 1) \ 124 F(NumberOr, 2, 1) \
124 F(NumberAnd, 2, 1) \ 125 F(NumberAnd, 2, 1) \
125 F(NumberXor, 2, 1) \ 126 F(NumberXor, 2, 1) \
126 F(NumberNot, 1, 1) \ 127 F(NumberNot, 1, 1) \
127 \ 128 \
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
448 int position); 449 int position);
449 450
450 // Helper functions used stubs. 451 // Helper functions used stubs.
451 static void PerformGC(Object* result); 452 static void PerformGC(Object* result);
452 }; 453 };
453 454
454 455
455 } } // namespace v8::internal 456 } } // namespace v8::internal
456 457
457 #endif // V8_RUNTIME_H_ 458 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/ia32/full-codegen-ia32.cc ('k') | src/x64/full-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698