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/runtime.h

Issue 6445: This change removes the %AddProperty native JavaScript function from V8.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 12 years, 2 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/regexp-delay.js ('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 21 matching lines...) Expand all
32 32
33 // The interface to C++ runtime functions. 33 // The interface to C++ runtime functions.
34 34
35 // ---------------------------------------------------------------------------- 35 // ----------------------------------------------------------------------------
36 // RUNTIME_FUNCTION_LIST_ALWAYS defines runtime calls available in both 36 // RUNTIME_FUNCTION_LIST_ALWAYS defines runtime calls available in both
37 // release and debug mode. 37 // release and debug mode.
38 // This macro should only be used by the macro RUNTIME_FUNCTION_LIST. 38 // This macro should only be used by the macro RUNTIME_FUNCTION_LIST.
39 39
40 #define RUNTIME_FUNCTION_LIST_ALWAYS(F) \ 40 #define RUNTIME_FUNCTION_LIST_ALWAYS(F) \
41 /* Property access */ \ 41 /* Property access */ \
42 F(AddProperty, 4) \
43 F(GetProperty, 2) \ 42 F(GetProperty, 2) \
44 F(DeleteProperty, 2) \ 43 F(DeleteProperty, 2) \
45 F(HasLocalProperty, 2) \ 44 F(HasLocalProperty, 2) \
46 F(HasProperty, 2) \ 45 F(HasProperty, 2) \
47 F(HasElement, 2) \ 46 F(HasElement, 2) \
48 F(IsPropertyEnumerable, 2) \ 47 F(IsPropertyEnumerable, 2) \
49 F(GetPropertyNames, 1) \ 48 F(GetPropertyNames, 1) \
50 F(GetPropertyNamesFast, 1) \ 49 F(GetPropertyNamesFast, 1) \
51 F(GetArgumentsProperty, 1) \ 50 F(GetArgumentsProperty, 1) \
52 \ 51 \
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 \ 181 \
183 /* Globals */ \ 182 /* Globals */ \
184 F(CompileString, 3) \ 183 F(CompileString, 3) \
185 F(CompileScript, 4) \ 184 F(CompileScript, 4) \
186 F(GlobalPrint, 1) \ 185 F(GlobalPrint, 1) \
187 \ 186 \
188 /* Eval */ \ 187 /* Eval */ \
189 F(EvalReceiver, 1) \ 188 F(EvalReceiver, 1) \
190 \ 189 \
191 F(SetProperty, -1 /* 3 or 4 */) \ 190 F(SetProperty, -1 /* 3 or 4 */) \
192 F(IgnoreAttributesAndSetProperty, 3) \ 191 F(IgnoreAttributesAndSetProperty, -1 /* 3 or 4 */) \
193 \ 192 \
194 /* Arrays */ \ 193 /* Arrays */ \
195 F(RemoveArrayHoles, 1) \ 194 F(RemoveArrayHoles, 1) \
196 F(GetArrayKeys, 2) \ 195 F(GetArrayKeys, 2) \
197 F(MoveArrayContents, 2) \ 196 F(MoveArrayContents, 2) \
198 F(EstimateNumberOfElements, 1) \ 197 F(EstimateNumberOfElements, 1) \
199 \ 198 \
200 /* Getters and Setters */ \ 199 /* Getters and Setters */ \
201 F(DefineAccessor, -1 /* 4 or 5 */) \ 200 F(DefineAccessor, -1 /* 4 or 5 */) \
202 F(LookupAccessor, 3) \ 201 F(LookupAccessor, 3) \
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
349 static Object* GetObjectProperty(Handle<Object> object, Handle<Object> key); 348 static Object* GetObjectProperty(Handle<Object> object, Handle<Object> key);
350 349
351 // Helper functions used stubs. 350 // Helper functions used stubs.
352 static void PerformGC(Object* result); 351 static void PerformGC(Object* result);
353 }; 352 };
354 353
355 354
356 } } // namespace v8::internal 355 } } // namespace v8::internal
357 356
358 #endif // V8_RUNTIME_H_ 357 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/regexp-delay.js ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698