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

Side by Side Diff: src/builtins.h

Issue 6698015: Implement strict mode arguments caller/callee. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Kevin's feedback. Created 9 years, 9 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/bootstrapper.cc ('k') | src/builtins.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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 V(ArraySlice, NO_EXTRA_ARGUMENTS) \ 53 V(ArraySlice, NO_EXTRA_ARGUMENTS) \
54 V(ArraySplice, NO_EXTRA_ARGUMENTS) \ 54 V(ArraySplice, NO_EXTRA_ARGUMENTS) \
55 V(ArrayConcat, NO_EXTRA_ARGUMENTS) \ 55 V(ArrayConcat, NO_EXTRA_ARGUMENTS) \
56 \ 56 \
57 V(HandleApiCall, NEEDS_CALLED_FUNCTION) \ 57 V(HandleApiCall, NEEDS_CALLED_FUNCTION) \
58 V(FastHandleApiCall, NO_EXTRA_ARGUMENTS) \ 58 V(FastHandleApiCall, NO_EXTRA_ARGUMENTS) \
59 V(HandleApiCallConstruct, NEEDS_CALLED_FUNCTION) \ 59 V(HandleApiCallConstruct, NEEDS_CALLED_FUNCTION) \
60 V(HandleApiCallAsFunction, NO_EXTRA_ARGUMENTS) \ 60 V(HandleApiCallAsFunction, NO_EXTRA_ARGUMENTS) \
61 V(HandleApiCallAsConstructor, NO_EXTRA_ARGUMENTS) \ 61 V(HandleApiCallAsConstructor, NO_EXTRA_ARGUMENTS) \
62 \ 62 \
63 V(StrictArgumentsCallee, NO_EXTRA_ARGUMENTS) \
64 V(StrictArgumentsCaller, NO_EXTRA_ARGUMENTS) \
63 V(StrictFunctionCaller, NO_EXTRA_ARGUMENTS) \ 65 V(StrictFunctionCaller, NO_EXTRA_ARGUMENTS) \
64 V(StrictFunctionArguments, NO_EXTRA_ARGUMENTS) 66 V(StrictFunctionArguments, NO_EXTRA_ARGUMENTS)
65 67
66 68
67 // Define list of builtins implemented in assembly. 69 // Define list of builtins implemented in assembly.
68 #define BUILTIN_LIST_A(V) \ 70 #define BUILTIN_LIST_A(V) \
69 V(ArgumentsAdaptorTrampoline, BUILTIN, UNINITIALIZED, \ 71 V(ArgumentsAdaptorTrampoline, BUILTIN, UNINITIALIZED, \
70 Code::kNoExtraICState) \ 72 Code::kNoExtraICState) \
71 V(JSConstructCall, BUILTIN, UNINITIALIZED, \ 73 V(JSConstructCall, BUILTIN, UNINITIALIZED, \
72 Code::kNoExtraICState) \ 74 Code::kNoExtraICState) \
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 static void Generate_ArrayConstructCode(MacroAssembler* masm); 335 static void Generate_ArrayConstructCode(MacroAssembler* masm);
334 336
335 static void Generate_StringConstructCode(MacroAssembler* masm); 337 static void Generate_StringConstructCode(MacroAssembler* masm);
336 338
337 static void Generate_OnStackReplacement(MacroAssembler* masm); 339 static void Generate_OnStackReplacement(MacroAssembler* masm);
338 }; 340 };
339 341
340 } } // namespace v8::internal 342 } } // namespace v8::internal
341 343
342 #endif // V8_BUILTINS_H_ 344 #endif // V8_BUILTINS_H_
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/builtins.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698