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

Issue 3613009: Addressing Mads' comments from http://codereview.chromium.org/3585010/show. (Closed)
Patch Set: Created 10 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
« no previous file with comments | « src/api.cc ('k') | src/execution.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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 98
99 // ECMA-262 9.8 99 // ECMA-262 9.8
100 static Handle<Object> ToDetailString(Handle<Object> obj, bool* exc); 100 static Handle<Object> ToDetailString(Handle<Object> obj, bool* exc);
101 101
102 // ECMA-262 9.9 102 // ECMA-262 9.9
103 static Handle<Object> ToObject(Handle<Object> obj, bool* exc); 103 static Handle<Object> ToObject(Handle<Object> obj, bool* exc);
104 104
105 // Create a new date object from 'time'. 105 // Create a new date object from 'time'.
106 static Handle<Object> NewDate(double time, bool* exc); 106 static Handle<Object> NewDate(double time, bool* exc);
107 107
108 // Create a new regular expression object from 'pattern' and 'flags'.
109 static Handle<JSRegExp> NewJSRegExp(Handle<String> pattern,
110 Handle<String> flags,
111 bool* exc);
112
108 // Used to implement [] notation on strings (calls JS code) 113 // Used to implement [] notation on strings (calls JS code)
109 static Handle<Object> CharAt(Handle<String> str, uint32_t index); 114 static Handle<Object> CharAt(Handle<String> str, uint32_t index);
110 115
111 static Handle<Object> GetFunctionFor(); 116 static Handle<Object> GetFunctionFor();
112 static Handle<JSFunction> InstantiateFunction( 117 static Handle<JSFunction> InstantiateFunction(
113 Handle<FunctionTemplateInfo> data, bool* exc); 118 Handle<FunctionTemplateInfo> data, bool* exc);
114 static Handle<JSObject> InstantiateObject(Handle<ObjectTemplateInfo> data, 119 static Handle<JSObject> InstantiateObject(Handle<ObjectTemplateInfo> data,
115 bool* exc); 120 bool* exc);
116 static void ConfigureInstance(Handle<Object> instance, 121 static void ConfigureInstance(Handle<Object> instance,
117 Handle<Object> data, 122 Handle<Object> data,
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 v8::Handle<v8::String> name); 332 v8::Handle<v8::String> name);
328 static v8::Handle<v8::Value> Externalize(const v8::Arguments& args); 333 static v8::Handle<v8::Value> Externalize(const v8::Arguments& args);
329 static v8::Handle<v8::Value> IsAscii(const v8::Arguments& args); 334 static v8::Handle<v8::Value> IsAscii(const v8::Arguments& args);
330 private: 335 private:
331 static const char* const kSource; 336 static const char* const kSource;
332 }; 337 };
333 338
334 } } // namespace v8::internal 339 } } // namespace v8::internal
335 340
336 #endif // V8_EXECUTION_H_ 341 #endif // V8_EXECUTION_H_
OLDNEW
« no previous file with comments | « src/api.cc ('k') | src/execution.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698