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

Side by Side Diff: src/builtins.h

Issue 6696018: Revert "Strict mode ThrowTypeError functions for" (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 V(ArrayShift, NO_EXTRA_ARGUMENTS) \ 51 V(ArrayShift, NO_EXTRA_ARGUMENTS) \
52 V(ArrayUnshift, NO_EXTRA_ARGUMENTS) \ 52 V(ArrayUnshift, NO_EXTRA_ARGUMENTS) \
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 \
63 V(StrictFunctionCaller, NO_EXTRA_ARGUMENTS) \
64 V(StrictFunctionArguments, NO_EXTRA_ARGUMENTS)
65 62
66 63
67 // Define list of builtins implemented in assembly. 64 // Define list of builtins implemented in assembly.
68 #define BUILTIN_LIST_A(V) \ 65 #define BUILTIN_LIST_A(V) \
69 V(ArgumentsAdaptorTrampoline, BUILTIN, UNINITIALIZED, \ 66 V(ArgumentsAdaptorTrampoline, BUILTIN, UNINITIALIZED, \
70 Code::kNoExtraICState) \ 67 Code::kNoExtraICState) \
71 V(JSConstructCall, BUILTIN, UNINITIALIZED, \ 68 V(JSConstructCall, BUILTIN, UNINITIALIZED, \
72 Code::kNoExtraICState) \ 69 Code::kNoExtraICState) \
73 V(JSConstructStubCountdown, BUILTIN, UNINITIALIZED, \ 70 V(JSConstructStubCountdown, BUILTIN, UNINITIALIZED, \
74 Code::kNoExtraICState) \ 71 Code::kNoExtraICState) \
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 static void Generate_ArrayConstructCode(MacroAssembler* masm); 330 static void Generate_ArrayConstructCode(MacroAssembler* masm);
334 331
335 static void Generate_StringConstructCode(MacroAssembler* masm); 332 static void Generate_StringConstructCode(MacroAssembler* masm);
336 333
337 static void Generate_OnStackReplacement(MacroAssembler* masm); 334 static void Generate_OnStackReplacement(MacroAssembler* masm);
338 }; 335 };
339 336
340 } } // namespace v8::internal 337 } } // namespace v8::internal
341 338
342 #endif // V8_BUILTINS_H_ 339 #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