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

Side by Side Diff: src/runtime.h

Issue 604064: Fix stack corruption when calling non-function. (Closed)
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
« no previous file with comments | « src/ia32/codegen-ia32.cc ('k') | src/runtime.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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 F(IsInPrototypeChain, 2, 1) \ 64 F(IsInPrototypeChain, 2, 1) \
65 F(SetHiddenPrototype, 2, 1) \ 65 F(SetHiddenPrototype, 2, 1) \
66 \ 66 \
67 F(IsConstructCall, 0, 1) \ 67 F(IsConstructCall, 0, 1) \
68 \ 68 \
69 F(GetOwnProperty, 2, 1) \ 69 F(GetOwnProperty, 2, 1) \
70 \ 70 \
71 F(IsExtensible, 1, 1) \ 71 F(IsExtensible, 1, 1) \
72 \ 72 \
73 /* Utilities */ \ 73 /* Utilities */ \
74 F(GetCalledFunction, 0, 1) \
75 F(GetFunctionDelegate, 1, 1) \ 74 F(GetFunctionDelegate, 1, 1) \
76 F(GetConstructorDelegate, 1, 1) \ 75 F(GetConstructorDelegate, 1, 1) \
77 F(NewArguments, 1, 1) \
78 F(NewArgumentsFast, 3, 1) \ 76 F(NewArgumentsFast, 3, 1) \
79 F(LazyCompile, 1, 1) \ 77 F(LazyCompile, 1, 1) \
80 F(SetNewFunctionAttributes, 1, 1) \ 78 F(SetNewFunctionAttributes, 1, 1) \
81 \ 79 \
82 /* Array join support */ \ 80 /* Array join support */ \
83 F(PushIfAbsent, 2, 1) \ 81 F(PushIfAbsent, 2, 1) \
84 F(ArrayConcat, 1, 1) \ 82 F(ArrayConcat, 1, 1) \
85 \ 83 \
86 /* Conversions */ \ 84 /* Conversions */ \
87 F(ToBool, 1, 1) \ 85 F(ToBool, 1, 1) \
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 int position); 422 int position);
425 423
426 // Helper functions used stubs. 424 // Helper functions used stubs.
427 static void PerformGC(Object* result); 425 static void PerformGC(Object* result);
428 }; 426 };
429 427
430 428
431 } } // namespace v8::internal 429 } } // namespace v8::internal
432 430
433 #endif // V8_RUNTIME_H_ 431 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/ia32/codegen-ia32.cc ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698